Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0006639/0.0006639, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.003632/0.003632, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.115/1.115, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8178/0.8178, allocations: 143.2 MB / 434.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002584/0.0002584, allocations: 12 kB / 0.5164 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 83.41 MB / 0.5978 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.2282/0.3513, allocations: 18.75 MB / 0.6162 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00467/0.356, allocations: 5.122 MB / 0.6212 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.3563, allocations: 13.84 kB / 0.6212 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.3567, allocations: 214.5 kB / 0.6214 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.3578, allocations: 0.706 MB / 0.6221 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3589, allocations: 0.7958 MB / 0.6228 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.36, allocations: 1.93 MB / 0.6247 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.3604, allocations: 446.5 kB / 0.6252 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.361, allocations: 0.564 MB / 0.6257 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.3614, allocations: 0.5101 MB / 0.6262 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.3615, allocations: 30.09 kB / 0.6262 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007008/0.3622, allocations: 0.6577 MB / 0.6269 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.3623, allocations: 141 kB / 0.627 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.3625, allocations: 371.4 kB / 0.6274 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007152/0.3632, allocations: 1.08 MB / 0.6284 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3632, allocations: 0 / 0.6284 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3632, allocations: 0.6562 kB / 0.6284 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.3632, allocations: 3.938 kB / 0.6284 GB, free: 28.52 MB / 0.4981 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.001256/0.3645, allocations: 0.9861 MB / 0.6294 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3645, allocations: 8.344 kB / 0.6294 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.3646, allocations: 83.39 kB / 0.6295 GB, free: 27.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.3651, allocations: 0.505 MB / 0.63 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3651, allocations: 42.19 kB / 0.63 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.3652, allocations: 51.03 kB / 0.6301 GB, free: 27.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.366, allocations: 0.6407 MB / 0.6307 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.366, allocations: 7.938 kB / 0.6307 GB, free: 27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.366, allocations: 21.41 kB / 0.6307 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.366, allocations: 11.72 kB / 0.6307 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008414/0.3669, allocations: 0.5155 MB / 0.6312 GB, free: 26.83 MB / 0.4981 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.002145/0.369, allocations: 3.217 MB / 0.6344 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.3696, allocations: 356.1 kB / 0.6347 GB, free: 24.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.37, allocations: 245.4 kB / 0.6349 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/0.3702, allocations: 354.5 kB / 0.6353 GB, free: 23.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.3702, allocations: 41.53 kB / 0.6353 GB, free: 23.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.362e-06/0.3702, allocations: 0 / 0.6353 GB, free: 23.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001708/0.3719, allocations: 0.8639 MB / 0.6362 GB, free: 23.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/0.372, allocations: 61.03 kB / 0.6362 GB, free: 23.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.3724, allocations: 0.581 MB / 0.6368 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.3724, allocations: 36.48 kB / 0.6368 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3726, allocations: 333.2 kB / 0.6371 GB, free: 22.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.3726, allocations: 137.7 kB / 0.6373 GB, free: 22.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.3727, allocations: 56.89 kB / 0.6373 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.3728, allocations: 369.7 kB / 0.6377 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.3732, allocations: 231.3 kB / 0.6379 GB, free: 22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.3736, allocations: 386.8 kB / 0.6383 GB, free: 21.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.3745, allocations: 0.5961 MB / 0.6388 GB, free: 21.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3745, allocations: 6.938 kB / 0.6389 GB, free: 21.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001134/0.3756, allocations: 0.746 MB / 0.6396 GB, free: 21.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.3757, allocations: 224.6 kB / 0.6398 GB, free: 20.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3757, allocations: 5.469 kB / 0.6398 GB, free: 20.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/0.3762, allocations: 159.7 kB / 0.64 GB, free: 20.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.3767, allocations: 139 kB / 0.6401 GB, free: 20.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003605/0.3771, allocations: 0.6266 MB / 0.6407 GB, free: 20.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.3776, allocations: 104.5 kB / 0.6408 GB, free: 20.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.3776, allocations: 29.94 kB / 0.6408 GB, free: 20.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.24e-06/0.3776, allocations: 3.531 kB / 0.6408 GB, free: 20.17 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009843/0.3786, allocations: 0.6261 MB / 0.6414 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3786, allocations: 5.156 kB / 0.6414 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.3786, allocations: 7.719 kB / 0.6415 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.3791, allocations: 168.2 kB / 0.6416 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3792, allocations: 9.188 kB / 0.6416 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.3796, allocations: 94.66 kB / 0.6417 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.3796, allocations: 31.31 kB / 0.6417 GB, free: 19.89 MB / 0.4981 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.0001771/0.3798, allocations: 267.9 kB / 0.642 GB, free: 19.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.3799, allocations: 66.66 kB / 0.6421 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.381, allocations: 0.6804 MB / 0.6427 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3811, allocations: 2.625 kB / 0.6427 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3811, allocations: 6.094 kB / 0.6427 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3811, allocations: 0 / 0.6427 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.3829, allocations: 1.4 MB / 0.6441 GB, free: 18.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3829, allocations: 0 / 0.6441 GB, free: 18.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.3832, allocations: 92.84 kB / 0.6442 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003236/0.3835, allocations: 136.3 kB / 0.6443 GB, free: 18.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.3836, allocations: 17.56 kB / 0.6443 GB, free: 18.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004064/0.384, allocations: 0.6252 MB / 0.6449 GB, free: 18.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.384, allocations: 6.25 kB / 0.645 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.385, allocations: 0.7434 MB / 0.6457 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.3852, allocations: 198.4 kB / 0.6459 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.3852, allocations: 19.23 kB / 0.6459 GB, free: 17.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.3856, allocations: 54.89 kB / 0.6459 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.3857, allocations: 29.16 kB / 0.646 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.3857, allocations: 19.02 kB / 0.646 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003295/0.3861, allocations: 403.6 kB / 0.6464 GB, free: 17.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3861, allocations: 0 / 0.6464 GB, free: 17.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008229/0.3869, allocations: 388.9 kB / 0.6467 GB, free: 17.2 MB / 0.4981 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.0004689/0.3874, allocations: 315.8 kB / 0.647 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.389, allocations: 0.9029 MB / 0.6479 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.389, allocations: 0 / 0.6479 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.3896, allocations: 304.5 kB / 0.6482 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.391, allocations: 271.7 kB / 0.6485 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.3924, allocations: 1.34 MB / 0.6498 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3927, allocations: 0.914 MB / 0.6507 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004698/0.3931, allocations: 153 kB / 0.6508 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3933, allocations: 61.48 kB / 0.6509 GB, free: 15 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.3933, allocations: 0 / 0.6509 GB, free: 15 MB / 0.4981 GB Notification: Performance of Templates: time 0.01813/0.4114, allocations: 12.37 MB / 0.663 GB, free: 13.97 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)