Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 115.5 kB / 16.42 MB, free: 6.496 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.001279/0.001279, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00229/0.00229, allocations: 289.4 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9886/0.9886, allocations: 169.2 MB / 0.499 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 99.84 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.48, allocations: 86.98 MB / 0.7671 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03294/0.513, allocations: 30.73 MB / 0.7971 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.5269, allocations: 10.84 MB / 0.8077 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.5281, allocations: 27.81 kB / 0.8077 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.5295, allocations: 405.2 kB / 0.8081 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.533, allocations: 1.144 MB / 0.8092 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.5355, allocations: 0.8508 MB / 0.81 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002793/0.5383, allocations: 2.065 MB / 0.812 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.5395, allocations: 0.6958 MB / 0.8127 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.5417, allocations: 0.9882 MB / 0.8137 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.5429, allocations: 0.6729 MB / 0.8143 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.5431, allocations: 56 kB / 0.8144 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.5446, allocations: 0.6122 MB / 0.815 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.5449, allocations: 167.2 kB / 0.8152 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006224/0.5455, allocations: 433.7 kB / 0.8156 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.5473, allocations: 1.101 MB / 0.8166 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5473, allocations: 3.938 kB / 0.8166 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.993e-06/0.5473, allocations: 0 / 0.8166 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.842e-05/0.5474, allocations: 0 / 0.8166 GB, free: 1.066 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002271/0.5497, allocations: 1.164 MB / 0.8178 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.5497, allocations: 12.03 kB / 0.8178 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.55, allocations: 95.81 kB / 0.8179 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.551, allocations: 0.5928 MB / 0.8185 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.5511, allocations: 41 kB / 0.8185 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.356e-05/0.5511, allocations: 52 kB / 0.8186 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/0.5519, allocations: 410.4 kB / 0.8189 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.552, allocations: 0 / 0.8189 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.552, allocations: 20 kB / 0.819 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.552, allocations: 12 kB / 0.819 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/0.5527, allocations: 311.8 kB / 0.8193 GB, free: 14.29 MB / 0.5919 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.002779/0.5555, allocations: 1.854 MB / 0.8211 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.5558, allocations: 166.5 kB / 0.8212 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.556, allocations: 84.81 kB / 0.8213 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.5563, allocations: 336.4 kB / 0.8216 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.5564, allocations: 30.56 kB / 0.8217 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.843e-06/0.5564, allocations: 3.938 kB / 0.8217 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.0007746/0.5571, allocations: 310.7 kB / 0.822 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.5572, allocations: 55.41 kB / 0.822 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007608/0.558, allocations: 0.6843 MB / 0.8227 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.558, allocations: 33.7 kB / 0.8227 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.5583, allocations: 360.7 kB / 0.8231 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.5583, allocations: 63.2 kB / 0.8231 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.5584, allocations: 97.91 kB / 0.8232 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5586, allocations: 382.8 kB / 0.8236 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.5589, allocations: 110.3 kB / 0.8237 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.5592, allocations: 175.8 kB / 0.8239 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.5596, allocations: 240.9 kB / 0.8241 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5596, allocations: 0 / 0.8241 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007248/0.5604, allocations: 403.5 kB / 0.8245 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.5604, allocations: 8 kB / 0.8245 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5604, allocations: 3.984 kB / 0.8245 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.5604, allocations: 0 / 0.8245 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5614, allocations: 163.8 kB / 0.8246 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.5627, allocations: 2.367 MB / 0.827 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.5632, allocations: 51.81 kB / 0.827 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.5633, allocations: 20 kB / 0.827 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004096/0.5637, allocations: 251.8 kB / 0.8273 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002864/0.564, allocations: 183.2 kB / 0.8274 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000406/0.5644, allocations: 224.9 kB / 0.8277 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.5644, allocations: 0 / 0.8277 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00071/0.5651, allocations: 384.1 kB / 0.828 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.5652, allocations: 8 kB / 0.828 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.5652, allocations: 0 / 0.828 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/0.5652, allocations: 4 kB / 0.828 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.5656, allocations: 99.91 kB / 0.8281 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.5656, allocations: 7.938 kB / 0.8281 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.5661, allocations: 35.81 kB / 0.8282 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.5661, allocations: 19.98 kB / 0.8282 GB, free: 4.676 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.5663, allocations: 196.2 kB / 0.8284 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.5664, allocations: 75.06 kB / 0.8284 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/0.5671, allocations: 315.4 kB / 0.8287 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.5671, allocations: 0 / 0.8287 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5671, allocations: 0 / 0.8287 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.5673, allocations: 164.1 kB / 0.8289 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-05/0.5674, allocations: 8 kB / 0.8289 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.5677, allocations: 19.97 kB / 0.8289 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.5678, allocations: 11.98 kB / 0.8289 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007648/0.5685, allocations: 380 kB / 0.8293 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000766/0.5693, allocations: 0.5547 MB / 0.8298 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001964/0.5695, allocations: 93.47 kB / 0.8299 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005705/0.5701, allocations: 483 kB / 0.8304 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of Backend: time 3.01e-07/0.5701, allocations: 0 / 0.8304 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002531/0.5727, allocations: 0.683 MB / 0.8311 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003034/0.5757, allocations: 1.777 MB / 0.8328 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of Templates: time 0.024/0.5997, allocations: 13.77 MB / 0.8462 GB, free: 2.312 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)