Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007497/0.007497, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.113/1.113, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.8269/0.8269, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002522/0.0002522, allocations: 8 kB / 0.5164 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1208, allocations: 83.41 MB / 0.5978 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.2297/0.3505, allocations: 28.92 MB / 0.6261 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007358/0.3579, allocations: 8.127 MB / 0.634 GB, free: 21.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005796/0.3585, allocations: 23.94 kB / 0.6341 GB, free: 21.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.3592, allocations: 349.3 kB / 0.6344 GB, free: 21.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.3611, allocations: 1.229 MB / 0.6356 GB, free: 21.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.3628, allocations: 1.036 MB / 0.6366 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0024/0.3652, allocations: 4.206 MB / 0.6407 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008807/0.3661, allocations: 1.154 MB / 0.6418 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.3675, allocations: 1.49 MB / 0.6433 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.369, allocations: 1.597 MB / 0.6448 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.3692, allocations: 67.91 kB / 0.6449 GB, free: 17.83 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.3703, allocations: 0.9379 MB / 0.6458 GB, free: 17.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.3706, allocations: 337.3 kB / 0.6461 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.3711, allocations: 0.7103 MB / 0.6468 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.3725, allocations: 2.158 MB / 0.6489 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.3725, allocations: 0 / 0.6489 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3725, allocations: 1.312 kB / 0.6489 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.3725, allocations: 0 / 0.6489 GB, free: 16.48 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001665/0.3742, allocations: 1.335 MB / 0.6503 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.3742, allocations: 10.44 kB / 0.6503 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.3745, allocations: 148.4 kB / 0.6504 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.3757, allocations: 0.9034 MB / 0.6513 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.3758, allocations: 80.06 kB / 0.6514 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.376, allocations: 120.8 kB / 0.6515 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000885/0.3769, allocations: 0.6409 MB / 0.6521 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3769, allocations: 1.531 kB / 0.6521 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.377, allocations: 25.03 kB / 0.6521 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.377, allocations: 15.53 kB / 0.6521 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007954/0.3778, allocations: 481.6 kB / 0.6526 GB, free: 14.46 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.003511/0.3813, allocations: 2.89 MB / 0.6554 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.3818, allocations: 324 kB / 0.6557 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.3821, allocations: 156.1 kB / 0.6559 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.3823, allocations: 340.2 kB / 0.6562 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.3823, allocations: 41.84 kB / 0.6562 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.312e-06/0.3823, allocations: 0 / 0.6562 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001049/0.3834, allocations: 0.5448 MB / 0.6568 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.3834, allocations: 56.38 kB / 0.6568 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008719/0.3843, allocations: 0.9067 MB / 0.6577 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.3844, allocations: 57.59 kB / 0.6578 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.3847, allocations: 0.5337 MB / 0.6583 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/0.3848, allocations: 113.8 kB / 0.6584 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.3849, allocations: 64.53 kB / 0.6585 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.3849, allocations: 334.8 kB / 0.6588 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.3853, allocations: 195.3 kB / 0.659 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009312/0.3862, allocations: 1.153 MB / 0.6601 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/0.3869, allocations: 475 kB / 0.6606 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3869, allocations: 5 kB / 0.6606 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001044/0.3879, allocations: 0.6611 MB / 0.6612 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.388, allocations: 153.4 kB / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.388, allocations: 1.5 kB / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.388, allocations: 5.938 kB / 0.6614 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.3893, allocations: 245.5 kB / 0.6616 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008063/0.3901, allocations: 2.95 MB / 0.6645 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/0.393, allocations: 0.751 MB / 0.6652 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.393, allocations: 30.25 kB / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.3931, allocations: 5.016 kB / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008374/0.3939, allocations: 0.5049 MB / 0.6657 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.3939, allocations: 2.094 kB / 0.6657 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-06/0.3939, allocations: 6.875 kB / 0.6657 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.3945, allocations: 157.9 kB / 0.6659 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.3945, allocations: 9.969 kB / 0.6659 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/0.3974, allocations: 0.7414 MB / 0.6666 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-05/0.3975, allocations: 25.27 kB / 0.6666 GB, free: 5.246 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000414/0.3979, allocations: 327.1 kB / 0.667 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.398, allocations: 99.3 kB / 0.6671 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.3991, allocations: 0.5165 MB / 0.6676 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3992, allocations: 10.2 kB / 0.6676 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3992, allocations: 0.9375 kB / 0.6676 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3992, allocations: 1.453 kB / 0.6676 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.4011, allocations: 1.266 MB / 0.6688 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.4011, allocations: 1.406 kB / 0.6688 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/0.4017, allocations: 127.1 kB / 0.6689 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.4017, allocations: 7.406 kB / 0.6689 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.4017, allocations: 17.47 kB / 0.669 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007821/0.4025, allocations: 2.944 MB / 0.6718 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4025, allocations: 5.688 kB / 0.6718 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/0.4034, allocations: 0.5823 MB / 0.6724 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.4036, allocations: 230.5 kB / 0.6726 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.4038, allocations: 6.938 kB / 0.6726 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005942/0.4044, allocations: 60.53 kB / 0.6727 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.4044, allocations: 30.7 kB / 0.6727 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.4045, allocations: 20.66 kB / 0.6727 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007237/0.4052, allocations: 0.6052 MB / 0.6733 GB, free: 268 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4052, allocations: 1.156 kB / 0.6733 GB, free: 268 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001299/0.4065, allocations: 0.537 MB / 0.6738 GB, free: 160 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005673/0.4071, allocations: 332 kB / 0.6742 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002174/0.4093, allocations: 0.868 MB / 0.675 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4093, allocations: 0 / 0.675 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.4098, allocations: 234.5 kB / 0.6752 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.4122, allocations: 490.5 kB / 0.6757 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.4144, allocations: 1.886 MB / 0.6775 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.4149, allocations: 1.027 MB / 0.6786 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007693/0.4157, allocations: 208.7 kB / 0.6787 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.4159, allocations: 79.95 kB / 0.6788 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.4159, allocations: 0 / 0.6788 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of Templates: time 0.03224/0.4481, allocations: 24.59 MB / 0.7028 GB, free: 16 kB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)