Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008216/0.0008217, allocations: 94.28 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 176.8 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000829/0.000829, allocations: 12.22 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3313, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02054/0.352, allocations: 18.97 MB / 0.8064 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.3669, allocations: 8.439 MB / 0.8147 GB, free: 60 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.3688, allocations: 27.75 kB / 0.8147 GB, free: 32 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.3702, allocations: 214.7 kB / 0.8149 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.3736, allocations: 0.6918 MB / 0.8156 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.3764, allocations: 0.7937 MB / 0.8163 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002767/0.3792, allocations: 1.934 MB / 0.8182 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006931/0.3799, allocations: 444.6 kB / 0.8186 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.381, allocations: 0.5484 MB / 0.8192 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007943/0.3818, allocations: 0.5056 MB / 0.8197 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.3819, allocations: 35.94 kB / 0.8197 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.3834, allocations: 0.6587 MB / 0.8204 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.3836, allocations: 123.4 kB / 0.8205 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004033/0.384, allocations: 375.7 kB / 0.8208 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.3855, allocations: 1.039 MB / 0.8218 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3855, allocations: 0 / 0.8218 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.246e-06/0.3855, allocations: 0 / 0.8218 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.3855, allocations: 0 / 0.8218 GB, free: 8.656 MB / 0.6387 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.001958/0.3875, allocations: 0.9814 MB / 0.8228 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.3876, allocations: 11.97 kB / 0.8228 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.3877, allocations: 87.91 kB / 0.8229 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/0.3885, allocations: 0.4987 MB / 0.8234 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.3885, allocations: 37 kB / 0.8234 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.3886, allocations: 59.92 kB / 0.8235 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.3897, allocations: 0.6295 MB / 0.8241 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.3897, allocations: 7.875 kB / 0.8241 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.3898, allocations: 24 kB / 0.8241 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.3898, allocations: 12 kB / 0.8241 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.3909, allocations: 0.5151 MB / 0.8246 GB, free: 5.637 MB / 0.6387 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.003572/0.3945, allocations: 3.201 MB / 0.8278 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/0.3952, allocations: 357 kB / 0.8281 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/0.3957, allocations: 244.7 kB / 0.8283 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004914/0.3962, allocations: 344.4 kB / 0.8287 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.3963, allocations: 42.59 kB / 0.8287 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=38): time 2.164e-06/0.3963, allocations: 0 / 0.8287 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.002201/0.3985, allocations: 0.8573 MB / 0.8295 GB, free: 300 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.3985, allocations: 59.39 kB / 0.8296 GB, free: 228 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007034/0.3992, allocations: 0.5822 MB / 0.8302 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.3993, allocations: 37.7 kB / 0.8302 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.3996, allocations: 328.4 kB / 0.8305 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.3997, allocations: 130.1 kB / 0.8306 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.3998, allocations: 61.69 kB / 0.8307 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4, allocations: 374.6 kB / 0.8311 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/0.4005, allocations: 233.2 kB / 0.8313 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.4011, allocations: 380 kB / 0.8316 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.4022, allocations: 0.59 MB / 0.8322 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.4022, allocations: 4 kB / 0.8322 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0015/0.4037, allocations: 0.7461 MB / 0.833 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.4039, allocations: 231.1 kB / 0.8332 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.4039, allocations: 4 kB / 0.8332 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007174/0.4047, allocations: 156.8 kB / 0.8333 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/0.4052, allocations: 151.7 kB / 0.8335 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006774/0.4059, allocations: 0.6264 MB / 0.8341 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006689/0.4066, allocations: 99.39 kB / 0.8342 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/0.4067, allocations: 35.92 kB / 0.8342 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.4067, allocations: 4 kB / 0.8342 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001303/0.408, allocations: 0.6267 MB / 0.8348 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4081, allocations: 4 kB / 0.8348 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4081, allocations: 8 kB / 0.8348 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/0.4087, allocations: 160.3 kB / 0.835 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4087, allocations: 15.98 kB / 0.835 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.4092, allocations: 95.42 kB / 0.8351 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.4093, allocations: 35.98 kB / 0.8351 GB, free: 10.3 MB / 0.6544 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003605/0.4096, allocations: 264.9 kB / 0.8354 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.4097, allocations: 63.16 kB / 0.8354 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.4113, allocations: 0.6747 MB / 0.8361 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.4113, allocations: 4 kB / 0.8361 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4113, allocations: 3.938 kB / 0.8361 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.4113, allocations: 3.984 kB / 0.8361 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.4138, allocations: 1.404 MB / 0.8375 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4138, allocations: 96 / 0.8375 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.4142, allocations: 95.88 kB / 0.8376 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000426/0.4146, allocations: 136.7 kB / 0.8377 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.4146, allocations: 19.92 kB / 0.8377 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006122/0.4153, allocations: 0.6343 MB / 0.8383 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4153, allocations: 0 / 0.8383 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.4165, allocations: 0.7282 MB / 0.8391 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.4168, allocations: 204 kB / 0.8393 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.4168, allocations: 8 kB / 0.8393 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.4173, allocations: 55.94 kB / 0.8393 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.504e-05/0.4174, allocations: 31.95 kB / 0.8393 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.4174, allocations: 12 kB / 0.8394 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004712/0.4179, allocations: 403 kB / 0.8397 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.683e-06/0.4179, allocations: 8 kB / 0.8397 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001168/0.4191, allocations: 387.3 kB / 0.8401 GB, free: 5.023 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006721/0.4197, allocations: 295.8 kB / 0.8404 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.4217, allocations: 0.9059 MB / 0.8413 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4217, allocations: 0 / 0.8413 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000693/0.4224, allocations: 312.1 kB / 0.8416 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.424, allocations: 269.4 kB / 0.8418 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.4259, allocations: 1.329 MB / 0.8431 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.4264, allocations: 0.9116 MB / 0.844 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005636/0.427, allocations: 152.2 kB / 0.8442 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.4271, allocations: 63.42 kB / 0.8442 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.4271, allocations: 0 / 0.8442 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of Templates: time 0.02099/0.4481, allocations: 12.31 MB / 0.8562 GB, free: 4.609 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: