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.001195/0.001195, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001598/0.001598, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 292 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9421/0.9421, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003011/0.003011, allocations: 87.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.6566, allocations: 86.98 MB / 0.7671 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02836/0.685, allocations: 30.74 MB / 0.7971 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0144/0.6995, allocations: 10.85 MB / 0.8077 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.7009, allocations: 27.81 kB / 0.8077 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.7022, allocations: 389.3 kB / 0.8081 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.7059, allocations: 1.205 MB / 0.8092 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.7084, allocations: 0.846 MB / 0.8101 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003068/0.7115, allocations: 2.085 MB / 0.8121 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.7127, allocations: 0.6814 MB / 0.8128 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.7148, allocations: 1.008 MB / 0.8138 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.7161, allocations: 0.6652 MB / 0.8144 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.7163, allocations: 56 kB / 0.8145 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.7177, allocations: 0.6083 MB / 0.8151 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.7179, allocations: 179.2 kB / 0.8152 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000718/0.7186, allocations: 425.8 kB / 0.8156 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.7203, allocations: 1.112 MB / 0.8167 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7203, allocations: 0 / 0.8167 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7204, allocations: 0 / 0.8167 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.697e-05/0.7204, allocations: 0 / 0.8167 GB, free: 0.7773 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.002141/0.7225, allocations: 1.156 MB / 0.8178 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.7226, allocations: 8.031 kB / 0.8179 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.7228, allocations: 95.81 kB / 0.8179 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009805/0.7238, allocations: 0.5967 MB / 0.8185 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-05/0.7239, allocations: 41 kB / 0.8186 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/0.724, allocations: 56 kB / 0.8186 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008329/0.7248, allocations: 414.4 kB / 0.819 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.7248, allocations: 0 / 0.819 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.7249, allocations: 20 kB / 0.819 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.7249, allocations: 12 kB / 0.819 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006779/0.7256, allocations: 299.8 kB / 0.8193 GB, free: 14.01 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.002933/0.7285, allocations: 1.861 MB / 0.8211 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.7289, allocations: 162.5 kB / 0.8213 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.7291, allocations: 80.81 kB / 0.8214 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.7294, allocations: 340.4 kB / 0.8217 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.7295, allocations: 34.56 kB / 0.8217 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.793e-06/0.7295, allocations: 0 / 0.8217 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.000821/0.7303, allocations: 306.9 kB / 0.822 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.7303, allocations: 55.41 kB / 0.8221 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000819/0.7312, allocations: 0.6804 MB / 0.8227 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/0.7313, allocations: 41.64 kB / 0.8228 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.7315, allocations: 360.8 kB / 0.8231 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.7316, allocations: 71.03 kB / 0.8232 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.7317, allocations: 93.95 kB / 0.8233 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7319, allocations: 374.8 kB / 0.8236 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.7322, allocations: 110.3 kB / 0.8238 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.7325, allocations: 183.8 kB / 0.8239 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.733, allocations: 236.9 kB / 0.8242 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.733, allocations: 0 / 0.8242 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007729/0.7338, allocations: 407.4 kB / 0.8245 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7338, allocations: 8 kB / 0.8246 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.7338, allocations: 0 / 0.8246 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7338, allocations: 0 / 0.8246 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.7349, allocations: 163.8 kB / 0.8247 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.7361, allocations: 2.371 MB / 0.827 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.7366, allocations: 51.53 kB / 0.8271 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.7367, allocations: 19.98 kB / 0.8271 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004061/0.7371, allocations: 250.2 kB / 0.8273 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002977/0.7374, allocations: 187.4 kB / 0.8275 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004329/0.7379, allocations: 224.9 kB / 0.8277 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.7379, allocations: 0 / 0.8277 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006866/0.7386, allocations: 380.2 kB / 0.8281 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.7386, allocations: 8 kB / 0.8281 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7386, allocations: 0 / 0.8281 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.7386, allocations: 7.938 kB / 0.8281 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.739, allocations: 95.88 kB / 0.8282 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.7391, allocations: 7.938 kB / 0.8282 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.7395, allocations: 47.83 kB / 0.8282 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.7396, allocations: 12 kB / 0.8283 GB, free: 4.391 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.0001411/0.7397, allocations: 196.2 kB / 0.8284 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.7398, allocations: 71.06 kB / 0.8285 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.7405, allocations: 321.8 kB / 0.8288 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.7405, allocations: 0 / 0.8288 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7405, allocations: 7.922 kB / 0.8288 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.7407, allocations: 156.2 kB / 0.829 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/0.7408, allocations: 4 kB / 0.829 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.7411, allocations: 19.97 kB / 0.829 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.7412, allocations: 11.98 kB / 0.829 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007809/0.742, allocations: 373 kB / 0.8294 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007766/0.7428, allocations: 0.5627 MB / 0.8299 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001931/0.743, allocations: 89.86 kB / 0.83 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005764/0.7436, allocations: 479 kB / 0.8305 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of Backend: time 4.61e-07/0.7436, allocations: 0 / 0.8305 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002373/0.746, allocations: 0.6866 MB / 0.8311 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of SimCode: time 0.00282/0.7488, allocations: 1.785 MB / 0.8329 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of Templates: time 0.02339/0.7722, allocations: 13.78 MB / 0.8463 GB, free: 2.023 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)