Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 185.3 kB / 16.92 MB, free: 6.777 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.474/1.474, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6784/0.6784, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003113, allocations: 8 kB / 495.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1528, allocations: 77.54 MB / 0.56 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4862/0.6391, allocations: 151 MB / 0.7074 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04786/0.687, allocations: 30.16 MB / 0.7369 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00886/0.6959, allocations: 119.2 kB / 0.737 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00408/0.7, allocations: 0.8155 MB / 0.7378 GB, free: 348 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.7106, allocations: 2.896 MB / 0.7406 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00683/0.7174, allocations: 2.303 MB / 0.7429 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.7286, allocations: 7.389 MB / 0.7501 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003788/0.7324, allocations: 1.856 MB / 0.7519 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007009/0.7395, allocations: 2.364 MB / 0.7542 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00358/0.7431, allocations: 1.902 MB / 0.7561 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004778/0.7436, allocations: 96 kB / 0.7562 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.7461, allocations: 0.9359 MB / 0.7571 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004904/0.7466, allocations: 449.7 kB / 0.7575 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.748, allocations: 1.14 MB / 0.7586 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.7516, allocations: 3.132 MB / 0.7617 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7516, allocations: 0 / 0.7617 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7516, allocations: 0 / 0.7617 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.08e-05/0.7517, allocations: 0 / 0.7617 GB, free: 7.812 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.00426/0.7559, allocations: 2.352 MB / 0.764 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.756, allocations: 11.97 kB / 0.764 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.7564, allocations: 264.8 kB / 0.7642 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.7584, allocations: 1.449 MB / 0.7656 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.837e-05/0.7584, allocations: 106.3 kB / 0.7657 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.7587, allocations: 140 kB / 0.7659 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.7606, allocations: 1.167 MB / 0.767 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.7607, allocations: 3.984 kB / 0.767 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.7608, allocations: 51.94 kB / 0.7671 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.7608, allocations: 28 kB / 0.7671 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.7626, allocations: 1.02 MB / 0.7681 GB, free: 1.051 MB / 0.5762 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.01014/0.7728, allocations: 6.351 MB / 0.7743 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009267/0.7737, allocations: 0.5756 MB / 0.7749 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005716/0.7743, allocations: 389.8 kB / 0.7752 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004355/0.7747, allocations: 0.4992 MB / 0.7757 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.7748, allocations: 51.05 kB / 0.7758 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001627/0.7764, allocations: 334.7 kB / 0.7761 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 3.757e-06/0.7764, allocations: 4 kB / 0.7761 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.002075/0.7785, allocations: 1.129 MB / 0.7772 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.7786, allocations: 59.97 kB / 0.7773 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.7809, allocations: 1.904 MB / 0.7791 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.178e-05/0.781, allocations: 49.7 kB / 0.7792 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007371/0.7818, allocations: 0.9107 MB / 0.78 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.7819, allocations: 205 kB / 0.7802 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.7821, allocations: 117.6 kB / 0.7804 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7823, allocations: 349.9 kB / 0.7807 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/0.7831, allocations: 438.4 kB / 0.7811 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.7841, allocations: 0.6723 MB / 0.7818 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.7857, allocations: 0.9578 MB / 0.7827 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7857, allocations: 7.938 kB / 0.7827 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00239/0.7881, allocations: 1.389 MB / 0.7841 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.7882, allocations: 186.3 kB / 0.7842 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.7882, allocations: 4 kB / 0.7842 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.7883, allocations: 11.94 kB / 0.7843 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.7896, allocations: 283.6 kB / 0.7845 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.7896, allocations: 11.98 kB / 0.7845 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.7913, allocations: 143.6 kB / 0.7847 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.7915, allocations: 63.95 kB / 0.7847 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.607e-06/0.7915, allocations: 6.656 kB / 0.7847 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00212/0.7936, allocations: 1.124 MB / 0.7858 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.7936, allocations: 11.94 kB / 0.7859 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.7936, allocations: 11.94 kB / 0.7859 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.7948, allocations: 267.6 kB / 0.7861 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.7948, allocations: 15.92 kB / 0.7861 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.7962, allocations: 143.7 kB / 0.7863 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.7963, allocations: 59.95 kB / 0.7863 GB, free: 13.53 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008698/0.7972, allocations: 448.7 kB / 0.7868 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.7974, allocations: 205.4 kB / 0.787 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.7995, allocations: 1.079 MB / 0.788 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.7996, allocations: 8 kB / 0.788 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7996, allocations: 0 / 0.788 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.7996, allocations: 3.984 kB / 0.788 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.8031, allocations: 2.406 MB / 0.7904 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.8031, allocations: 0 / 0.7904 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.8037, allocations: 144 kB / 0.7905 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.8037, allocations: 7.938 kB / 0.7905 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/0.8038, allocations: 23.98 kB / 0.7905 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.8038, allocations: 4 kB / 0.7905 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.8038, allocations: 3.938 kB / 0.7905 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.8052, allocations: 1.058 MB / 0.7916 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006343/0.8059, allocations: 382.1 kB / 0.7919 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.8061, allocations: 20 kB / 0.792 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/0.807, allocations: 99.67 kB / 0.7921 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.8071, allocations: 52.52 kB / 0.7921 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.8072, allocations: 20 kB / 0.7921 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00173/0.8089, allocations: 1.26 MB / 0.7934 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.8089, allocations: 0 / 0.7934 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002118/0.8111, allocations: 0.8849 MB / 0.7942 GB, free: 5.277 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006687/0.8117, allocations: 344.9 kB / 0.7945 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002948/0.8147, allocations: 1.587 MB / 0.7961 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8147, allocations: 384 / 0.7961 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006745/0.8154, allocations: 403.5 kB / 0.7965 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006348/0.8218, allocations: 1.135 MB / 0.7976 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/0.8271, allocations: 3.726 MB / 0.8012 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.8282, allocations: 1.405 MB / 0.8026 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001836/0.83, allocations: 410.1 kB / 0.803 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.8305, allocations: 159.4 kB / 0.8031 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of SimCode: time 8.11e-07/0.8305, allocations: 0 / 0.8031 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.3129/1.143, allocations: 36.96 MB / 0.8392 GB, free: 215.9 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)