Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002428/0.002432, allocations: 356.8 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.565/1.565, allocations: 165.8 MB / 182.5 MB, free: 5.434 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.858/3.858, allocations: 410.8 MB / 0.5995 GB, free: 15.3 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001873/0.001873, allocations: 191.1 kB / 0.6662 GB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004834, allocations: 19.94 kB / 0.7423 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3403, allocations: 67.44 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02769/0.368, allocations: 27.72 MB / 0.8352 GB, free: 1.004 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02101/0.3891, allocations: 10.8 MB / 0.8458 GB, free: 6.184 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.3908, allocations: 39.62 kB / 0.8458 GB, free: 6.145 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.3929, allocations: 0.5164 MB / 0.8463 GB, free: 5.625 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005715/0.3986, allocations: 1.358 MB / 0.8477 GB, free: 4.262 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01027/0.4089, allocations: 2.919 MB / 0.8505 GB, free: 1.379 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00558/0.4145, allocations: 3.512 MB / 0.8539 GB, free: 13.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.4166, allocations: 1.086 MB / 0.855 GB, free: 12.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.4196, allocations: 1.242 MB / 0.8562 GB, free: 11.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.4234, allocations: 1.55 MB / 0.8577 GB, free: 9.957 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005406/0.424, allocations: 64 kB / 0.8578 GB, free: 9.895 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.4267, allocations: 0.8615 MB / 0.8586 GB, free: 9.031 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006307/0.4273, allocations: 330.8 kB / 0.8589 GB, free: 8.707 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005471/0.4279, allocations: 241.1 kB / 0.8592 GB, free: 8.465 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.4303, allocations: 1.539 MB / 0.8607 GB, free: 6.922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.896e-06/0.4304, allocations: 0 / 0.8607 GB, free: 6.922 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.019e-06/0.4304, allocations: 0 / 0.8607 GB, free: 6.922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.4304, allocations: 0 / 0.8607 GB, free: 6.922 MB / 410.7 MB 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.002912/0.4333, allocations: 1.321 MB / 0.862 GB, free: 5.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4334, allocations: 12.03 kB / 0.862 GB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005164/0.4339, allocations: 142.6 kB / 0.8621 GB, free: 5.395 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.4364, allocations: 0.8563 MB / 0.8629 GB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.4365, allocations: 81.31 kB / 0.863 GB, free: 4.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/0.4368, allocations: 120 kB / 0.8631 GB, free: 4.301 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.4383, allocations: 0.6434 MB / 0.8638 GB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.4383, allocations: 0 / 0.8638 GB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/0.4384, allocations: 24 kB / 0.8638 GB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.4385, allocations: 16 kB / 0.8638 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.4398, allocations: 472.8 kB / 0.8643 GB, free: 3.129 MB / 410.7 MB 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.006382/0.4462, allocations: 2.875 MB / 0.8671 GB, free: 108 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008792/0.4471, allocations: 307.9 kB / 0.8674 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/0.4476, allocations: 153.3 kB / 0.8675 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003999/0.448, allocations: 348.6 kB / 0.8678 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.448, allocations: 42.83 kB / 0.8679 GB, free: 15.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.681e-06/0.4481, allocations: 0 / 0.8679 GB, free: 15.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001817/0.4499, allocations: 0.5361 MB / 0.8684 GB, free: 14.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.45, allocations: 59.39 kB / 0.8685 GB, free: 14.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.4515, allocations: 0.8829 MB / 0.8693 GB, free: 13.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002304/0.4517, allocations: 53.7 kB / 0.8694 GB, free: 13.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006634/0.4524, allocations: 0.5338 MB / 0.8699 GB, free: 13.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.4526, allocations: 110.4 kB / 0.87 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.4526, allocations: 12 kB / 0.87 GB, free: 12.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4528, allocations: 334 kB / 0.8703 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.4534, allocations: 177.2 kB / 0.8705 GB, free: 12.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.4552, allocations: 1.139 MB / 0.8716 GB, free: 10.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007415/0.456, allocations: 310.6 kB / 0.8719 GB, free: 10.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.449e-06/0.456, allocations: 4 kB / 0.8719 GB, free: 10.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001874/0.4579, allocations: 0.6422 MB / 0.8725 GB, free: 9.973 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.458, allocations: 148.3 kB / 0.8727 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.925e-06/0.4581, allocations: 4 kB / 0.8727 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.4581, allocations: 4 kB / 0.8727 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.4599, allocations: 247.6 kB / 0.8729 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.4624, allocations: 2.961 MB / 0.8758 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/0.4666, allocations: 0.7534 MB / 0.8765 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.4669, allocations: 23.98 kB / 0.8766 GB, free: 5.695 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4669, allocations: 8 kB / 0.8766 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001482/0.4684, allocations: 0.4975 MB / 0.8771 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.736e-06/0.4684, allocations: 8.062 kB / 0.8771 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4685, allocations: 7.984 kB / 0.8771 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009349/0.4694, allocations: 159.8 kB / 0.8772 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.4694, allocations: 7.953 kB / 0.8772 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00411/0.4735, allocations: 0.73 MB / 0.8779 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.4737, allocations: 31.98 kB / 0.878 GB, free: 4.242 MB / 426.7 MB 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 (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001328/0.4751, allocations: 329.9 kB / 0.8783 GB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/0.4755, allocations: 98.72 kB / 0.8784 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/0.4783, allocations: 0.524 MB / 0.8789 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.4784, allocations: 4 kB / 0.8789 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.4784, allocations: 7.938 kB / 0.8789 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4784, allocations: 0 / 0.8789 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/0.4831, allocations: 1.244 MB / 0.8801 GB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.4832, allocations: 3.953 kB / 0.8801 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.4845, allocations: 131.8 kB / 0.8803 GB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/0.4845, allocations: 8.125 kB / 0.8803 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.338e-05/0.4846, allocations: 8 kB / 0.8803 GB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/0.4877, allocations: 2.946 MB / 0.8831 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/0.4877, allocations: 4.031 kB / 0.8832 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.4895, allocations: 0.5702 MB / 0.8837 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/0.49, allocations: 223.7 kB / 0.8839 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.4902, allocations: 11.94 kB / 0.8839 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007455/0.491, allocations: 59.84 kB / 0.884 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/0.4911, allocations: 31.86 kB / 0.884 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.4912, allocations: 19.98 kB / 0.884 GB, free: 13.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001104/0.4923, allocations: 0.5845 MB / 0.8846 GB, free: 13.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.4923, allocations: 0 / 0.8846 GB, free: 13.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001969/0.4943, allocations: 0.5461 MB / 0.8851 GB, free: 12.64 MB / 442.7 MB 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 (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008915/0.4952, allocations: 306.2 kB / 0.8854 GB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003434/0.4987, allocations: 0.8513 MB / 0.8863 GB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.912e-06/0.4987, allocations: 0 / 0.8863 GB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000906/0.4996, allocations: 236.3 kB / 0.8865 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/0.5029, allocations: 494.4 kB / 0.887 GB, free: 10.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.5066, allocations: 1.779 MB / 0.8887 GB, free: 8.957 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008837/0.5075, allocations: 1.041 MB / 0.8897 GB, free: 7.887 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001474/0.509, allocations: 215.1 kB / 0.8899 GB, free: 7.672 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.5093, allocations: 79.41 kB / 0.89 GB, free: 7.594 MB / 442.7 MB Notification: Performance of SimCode: time 1.752e-06/0.5093, allocations: 0 / 0.89 GB, free: 7.594 MB / 442.7 MB Notification: Performance of Templates: time 0.05842/0.5677, allocations: 23.74 MB / 0.9132 GB, free: 232 kB / 458.7 MB