Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 288.4 MB / 304.3 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 180.4 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 0.6316 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008148/0.0008149, allocations: 112.6 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004423, allocations: 12 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2497, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0166/0.2663, allocations: 17.99 MB / 0.9983 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.2768, allocations: 7.726 MB / 1.006 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008425/0.2777, allocations: 23.75 kB / 1.006 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007025/0.2784, allocations: 186.7 kB / 1.006 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.2802, allocations: 0.6628 MB / 1.007 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.2825, allocations: 0.741 MB / 1.007 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002277/0.2847, allocations: 1.689 MB / 1.009 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006585/0.2854, allocations: 444.7 kB / 1.009 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.2865, allocations: 0.5446 MB / 1.01 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006822/0.2872, allocations: 493.9 kB / 1.01 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.2873, allocations: 32 kB / 1.011 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.2886, allocations: 0.6315 MB / 1.011 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.2888, allocations: 127.4 kB / 1.011 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003279/0.2891, allocations: 348 kB / 1.012 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008804/0.29, allocations: 0.7637 MB / 1.012 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.29, allocations: 0 / 1.012 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/0.29, allocations: 0 / 1.012 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.29, allocations: 0 / 1.012 GB, free: 10.89 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001748/0.2918, allocations: 0.9785 MB / 1.013 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.2918, allocations: 8.031 kB / 1.013 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.292, allocations: 83.91 kB / 1.013 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.2927, allocations: 0.5027 MB / 1.014 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.2928, allocations: 37 kB / 1.014 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.2929, allocations: 48 kB / 1.014 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.2941, allocations: 0.6333 MB / 1.015 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.2942, allocations: 3.938 kB / 1.015 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/0.2942, allocations: 20 kB / 1.015 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.2943, allocations: 12 kB / 1.015 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.2954, allocations: 0.5151 MB / 1.015 GB, free: 7.891 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004345/0.2998, allocations: 3.197 MB / 1.018 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.3005, allocations: 364 kB / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.3011, allocations: 240.7 kB / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005276/0.3016, allocations: 352.4 kB / 1.019 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.3017, allocations: 34.56 kB / 1.019 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 7.113e-06/0.3017, allocations: 96 / 1.019 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.002655/0.3043, allocations: 0.8727 MB / 1.02 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.3044, allocations: 55.41 kB / 1.02 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007818/0.3052, allocations: 0.5744 MB / 1.021 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.3053, allocations: 33.7 kB / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.3056, allocations: 332.4 kB / 1.021 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.3057, allocations: 130.1 kB / 1.021 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.3058, allocations: 16 kB / 1.021 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002618/0.306, allocations: 370.7 kB / 1.021 GB, free: 1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.3065, allocations: 221.2 kB / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006281/0.3072, allocations: 376 kB / 1.022 GB, free: 364 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.3082, allocations: 0.5784 MB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3082, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001449/0.3097, allocations: 0.7305 MB / 1.023 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002098/0.3099, allocations: 223.1 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.3099, allocations: 4 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007113/0.3107, allocations: 140.8 kB / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.3114, allocations: 159.8 kB / 1.024 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006825/0.3121, allocations: 0.6343 MB / 1.024 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006487/0.3127, allocations: 103.3 kB / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.3128, allocations: 28.12 kB / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.3128, allocations: 4 kB / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001252/0.3141, allocations: 0.6311 MB / 1.025 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3141, allocations: 8 kB / 1.025 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.3141, allocations: 8.031 kB / 1.025 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/0.3147, allocations: 163.7 kB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.3147, allocations: 15.92 kB / 1.025 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.3152, allocations: 87.48 kB / 1.025 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.3153, allocations: 35.98 kB / 1.026 GB, free: 12.65 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003713/0.3157, allocations: 268.9 kB / 1.026 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3158, allocations: 67.16 kB / 1.026 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.3174, allocations: 0.6701 MB / 1.026 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.3174, allocations: 3.984 kB / 1.026 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3174, allocations: 0 / 1.026 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.3177, allocations: 204 kB / 1.027 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.3178, allocations: 8 kB / 1.027 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.3182, allocations: 51.95 kB / 1.027 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.3183, allocations: 28.33 kB / 1.027 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001515/0.3198, allocations: 0.7005 MB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001703/0.3216, allocations: 1.013 MB / 1.028 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005041/0.3221, allocations: 244.5 kB / 1.029 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004595/0.3225, allocations: 387.1 kB / 1.029 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of Backend: time 9.62e-07/0.3226, allocations: 4 kB / 1.029 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.3252, allocations: 0.9745 MB / 1.03 GB, free: 8 MB / 0.6511 GB Notification: Performance of SimCode: time 0.003057/0.3283, allocations: 1.842 MB / 1.032 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of Templates: time 0.02314/0.3515, allocations: 13.29 MB / 1.045 GB, free: 8.965 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)