Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 107.6 kB / 16.52 MB, free: 6.703 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.001687/0.001688, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7085/0.7085, allocations: 115.3 MB / 406.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 59.91 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3657, allocations: 76.18 MB / 0.5564 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01776/0.3835, allocations: 19.33 MB / 0.5753 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007605/0.3911, allocations: 5.179 MB / 0.5803 GB, free: 18.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.3925, allocations: 17.56 kB / 0.5803 GB, free: 18.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009363/0.3935, allocations: 218.9 kB / 0.5805 GB, free: 18.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.3959, allocations: 0.7088 MB / 0.5812 GB, free: 18.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.3983, allocations: 0.7889 MB / 0.582 GB, free: 17.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002735/0.4011, allocations: 1.938 MB / 0.5839 GB, free: 17.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008116/0.4019, allocations: 449.1 kB / 0.5843 GB, free: 17.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.4031, allocations: 0.5694 MB / 0.5849 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007315/0.4039, allocations: 0.5245 MB / 0.5854 GB, free: 16.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.571e-05/0.404, allocations: 32.84 kB / 0.5854 GB, free: 16.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.4055, allocations: 0.6642 MB / 0.5861 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.4057, allocations: 145.4 kB / 0.5862 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003865/0.4061, allocations: 357.3 kB / 0.5866 GB, free: 16.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.4072, allocations: 0.7651 MB / 0.5873 GB, free: 15.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4072, allocations: 5 kB / 0.5873 GB, free: 15.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4072, allocations: 0 / 0.5873 GB, free: 15.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.4072, allocations: 3.938 kB / 0.5873 GB, free: 15.84 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001952/0.4092, allocations: 1.094 MB / 0.5884 GB, free: 15.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.4092, allocations: 9.656 kB / 0.5884 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.4094, allocations: 87.89 kB / 0.5885 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000666/0.4101, allocations: 0.5041 MB / 0.589 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.4101, allocations: 37.06 kB / 0.589 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.971e-05/0.4102, allocations: 57.17 kB / 0.5891 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.4113, allocations: 0.6163 MB / 0.5897 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.4113, allocations: 5.219 kB / 0.5897 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.4114, allocations: 21.47 kB / 0.5897 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.4114, allocations: 16.55 kB / 0.5897 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.4125, allocations: 490.3 kB / 0.5902 GB, free: 14.08 MB / 446.1 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.002921/0.4155, allocations: 3.2 MB / 0.5933 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.4162, allocations: 350.3 kB / 0.5936 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/0.4166, allocations: 222.3 kB / 0.5938 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/0.417, allocations: 351.7 kB / 0.5942 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.417, allocations: 33.03 kB / 0.5942 GB, free: 10.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=38): time 2.254e-06/0.417, allocations: 0 / 0.5942 GB, free: 10.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=38): time 0.002122/0.4191, allocations: 0.8108 MB / 0.595 GB, free: 9.945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.4192, allocations: 59.42 kB / 0.595 GB, free: 9.879 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/0.4198, allocations: 0.5791 MB / 0.5956 GB, free: 9.535 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.4199, allocations: 36.14 kB / 0.5956 GB, free: 9.496 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.4201, allocations: 327.8 kB / 0.596 GB, free: 9.207 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.53e-05/0.4202, allocations: 143.2 kB / 0.5961 GB, free: 9.082 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.4203, allocations: 132.2 kB / 0.5962 GB, free: 8.996 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.4204, allocations: 369.1 kB / 0.5966 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.4209, allocations: 219.8 kB / 0.5968 GB, free: 8.535 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.4215, allocations: 380.8 kB / 0.5971 GB, free: 8.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.4225, allocations: 0.5668 MB / 0.5977 GB, free: 7.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4225, allocations: 1.344 kB / 0.5977 GB, free: 7.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001423/0.424, allocations: 0.7268 MB / 0.5984 GB, free: 7.465 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.424, allocations: 7.344 kB / 0.5984 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.424, allocations: 4.312 kB / 0.5984 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.4246, allocations: 134.5 kB / 0.5986 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.4252, allocations: 138.5 kB / 0.5987 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004714/0.4257, allocations: 0.6217 MB / 0.5993 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/0.4264, allocations: 99.72 kB / 0.5994 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.4264, allocations: 31.23 kB / 0.5994 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006268/0.4271, allocations: 349.2 kB / 0.5997 GB, free: 6.504 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005379/0.4276, allocations: 366.2 kB / 0.6001 GB, free: 6.219 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001061/0.4287, allocations: 0.5548 MB / 0.6006 GB, free: 5.832 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.4287, allocations: 1.156 kB / 0.6006 GB, free: 5.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001371/0.4301, allocations: 0.6813 MB / 0.6013 GB, free: 5.488 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4301, allocations: 8.75 kB / 0.6013 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.4301, allocations: 4.219 kB / 0.6013 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.4301, allocations: 6.781 kB / 0.6013 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/0.4307, allocations: 152.1 kB / 0.6015 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.4308, allocations: 14.86 kB / 0.6015 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.4314, allocations: 81.17 kB / 0.6016 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.4314, allocations: 34.67 kB / 0.6016 GB, free: 5.387 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.4316, allocations: 213.6 kB / 0.6018 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.4317, allocations: 64.84 kB / 0.6019 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.4331, allocations: 0.6377 MB / 0.6025 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.4332, allocations: 8 kB / 0.6025 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.4332, allocations: 3.938 kB / 0.6025 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4332, allocations: 3.984 kB / 0.6025 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.4353, allocations: 1.359 MB / 0.6038 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.4353, allocations: 7.984 kB / 0.6038 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.4356, allocations: 83.89 kB / 0.6039 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003507/0.436, allocations: 116.8 kB / 0.604 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.436, allocations: 16 kB / 0.604 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004619/0.4365, allocations: 0.6342 MB / 0.6047 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4365, allocations: 4.031 kB / 0.6047 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.4376, allocations: 0.6967 MB / 0.6053 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.4379, allocations: 196 kB / 0.6055 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/0.438, allocations: 8 kB / 0.6055 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.4384, allocations: 47.94 kB / 0.6056 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.4385, allocations: 31.95 kB / 0.6056 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.4385, allocations: 16 kB / 0.6056 GB, free: 1.242 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003583/0.4389, allocations: 407.1 kB / 0.606 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4389, allocations: 0 / 0.606 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0012/0.4401, allocations: 395.3 kB / 0.6064 GB, free: 476 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000615/0.4407, allocations: 294 kB / 0.6067 GB, free: 184 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.4428, allocations: 0.8734 MB / 0.6075 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4428, allocations: 0 / 0.6075 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000705/0.4435, allocations: 281 kB / 0.6078 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.4451, allocations: 277.5 kB / 0.6081 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.4471, allocations: 1.34 MB / 0.6094 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.4476, allocations: 0.9197 MB / 0.6103 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.4478, allocations: 63.41 kB / 0.6103 GB, free: 12.38 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4478, allocations: 0 / 0.6103 GB, free: 12.38 MB / 462.1 MB Notification: Performance of Templates: time 0.0185/0.4663, allocations: 13.01 MB / 0.623 GB, free: 15.49 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)