Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 103.4 kB / 16.27 MB, free: 6.055 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.001104/0.001104, allocations: 191.7 kB / 17.2 MB, free: 5.684 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.247/1.247, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.71/0.71, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3111, allocations: 77.92 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01513/0.3263, allocations: 17.44 MB / 0.5843 GB, free: 20.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006368/0.3327, allocations: 4.908 MB / 0.5891 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006303/0.3334, allocations: 14.03 kB / 0.5891 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.3341, allocations: 252.7 kB / 0.5894 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.3356, allocations: 0.6172 MB / 0.59 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.3372, allocations: 0.7195 MB / 0.5907 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007939/0.3381, allocations: 0.9645 MB / 0.5916 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.3384, allocations: 344.4 kB / 0.5919 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.339, allocations: 418.1 kB / 0.5923 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.3393, allocations: 306.2 kB / 0.5926 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.3394, allocations: 29.5 kB / 0.5927 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.3404, allocations: 0.7229 MB / 0.5934 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.3405, allocations: 136.3 kB / 0.5935 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.3407, allocations: 245.4 kB / 0.5937 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009065/0.3416, allocations: 0.8651 MB / 0.5946 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3416, allocations: 0.8438 kB / 0.5946 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3416, allocations: 0 / 0.5946 GB, free: 12.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3417, allocations: 0.7812 kB / 0.5946 GB, free: 12.79 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001012/0.3427, allocations: 0.8818 MB / 0.5954 GB, free: 12.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3427, allocations: 9.844 kB / 0.5954 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.3428, allocations: 63.78 kB / 0.5955 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.3429, allocations: 63 kB / 0.5956 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.3434, allocations: 442.2 kB / 0.596 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3434, allocations: 21.78 kB / 0.596 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.3435, allocations: 32.5 kB / 0.596 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.3439, allocations: 281.7 kB / 0.5963 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3439, allocations: 3.562 kB / 0.5963 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.3439, allocations: 11.12 kB / 0.5963 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3439, allocations: 10.59 kB / 0.5963 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.3443, allocations: 193.7 kB / 0.5965 GB, free: 11.25 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.001432/0.3458, allocations: 1.48 MB / 0.598 GB, free: 9.934 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.3461, allocations: 167.8 kB / 0.5981 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.3462, allocations: 87.98 kB / 0.5982 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.3474, allocations: 1.273 MB / 0.5994 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.3474, allocations: 39.56 kB / 0.5995 GB, free: 8.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.3474, allocations: 4 kB / 0.5995 GB, free: 8.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005554/0.348, allocations: 240.8 kB / 0.5997 GB, free: 8.285 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.834e-05/0.348, allocations: 57.75 kB / 0.5998 GB, free: 8.219 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.3485, allocations: 0.584 MB / 0.6003 GB, free: 7.879 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3486, allocations: 32.14 kB / 0.6004 GB, free: 7.844 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.3487, allocations: 266 kB / 0.6006 GB, free: 7.609 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3487, allocations: 53.58 kB / 0.6007 GB, free: 7.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.3488, allocations: 82.66 kB / 0.6008 GB, free: 7.504 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.3489, allocations: 359.7 kB / 0.6011 GB, free: 7.156 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.3491, allocations: 77.88 kB / 0.6012 GB, free: 7.117 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.3493, allocations: 207.8 kB / 0.6014 GB, free: 6.934 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.3496, allocations: 236.4 kB / 0.6016 GB, free: 6.758 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3497, allocations: 1.625 kB / 0.6016 GB, free: 6.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005125/0.3502, allocations: 310.3 kB / 0.6019 GB, free: 6.598 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3502, allocations: 9.547 kB / 0.6019 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3502, allocations: 2.188 kB / 0.6019 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3502, allocations: 4.531 kB / 0.6019 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.3505, allocations: 68.22 kB / 0.602 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3505, allocations: 7.281 kB / 0.602 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.3508, allocations: 39.8 kB / 0.602 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.3508, allocations: 18.86 kB / 0.602 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002491/0.3511, allocations: 214.3 kB / 0.6022 GB, free: 6.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002181/0.3513, allocations: 212.1 kB / 0.6024 GB, free: 6.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002953/0.3516, allocations: 239.5 kB / 0.6027 GB, free: 5.895 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.3516, allocations: 0 / 0.6027 GB, free: 5.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000447/0.3521, allocations: 304.8 kB / 0.603 GB, free: 5.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.3521, allocations: 11.94 kB / 0.603 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.3521, allocations: 4 kB / 0.603 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-06/0.3521, allocations: 4 kB / 0.603 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.3523, allocations: 56.16 kB / 0.603 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.3523, allocations: 8 kB / 0.603 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.3526, allocations: 43.72 kB / 0.6031 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.3526, allocations: 12 kB / 0.6031 GB, free: 5.453 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 6.542e-05/0.3527, allocations: 204.8 kB / 0.6033 GB, free: 5.246 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.3528, allocations: 51.36 kB / 0.6033 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/0.3532, allocations: 268.4 kB / 0.6036 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.3533, allocations: 7.984 kB / 0.6036 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3533, allocations: 4 kB / 0.6036 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3533, allocations: 3.938 kB / 0.6036 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007423/0.354, allocations: 0.7278 MB / 0.6043 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.354, allocations: 4 kB / 0.6043 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3542, allocations: 27.98 kB / 0.6044 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3542, allocations: 3.938 kB / 0.6044 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3542, allocations: 11.98 kB / 0.6044 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3542, allocations: 0 / 0.6044 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3542, allocations: 4.188 kB / 0.6044 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.3546, allocations: 352.3 kB / 0.6047 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.87e-05/0.3547, allocations: 152.4 kB / 0.6049 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.3547, allocations: 0 / 0.6049 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.3549, allocations: 23.92 kB / 0.6049 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.355, allocations: 15.92 kB / 0.6049 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.355, allocations: 8 kB / 0.6049 GB, free: 3.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003288/0.3553, allocations: 414.8 kB / 0.6053 GB, free: 3.078 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3553, allocations: 0 / 0.6053 GB, free: 3.078 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006302/0.356, allocations: 231.7 kB / 0.6055 GB, free: 2.852 MB / 446.1 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00136/0.3573, allocations: 1.277 MB / 0.6068 GB, free: 1.707 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000577/0.3579, allocations: 324.1 kB / 0.6071 GB, free: 1.391 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3579, allocations: 0 / 0.6071 GB, free: 1.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.3581, allocations: 92.89 kB / 0.6072 GB, free: 1.301 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.3592, allocations: 260.6 kB / 0.6074 GB, free: 1.059 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/0.3636, allocations: 4.012 MB / 0.6113 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.364, allocations: 0.8428 MB / 0.6122 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003207/0.3643, allocations: 112.2 kB / 0.6123 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.3645, allocations: 159.4 kB / 0.6124 GB, free: 11.74 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3645, allocations: 0 / 0.6124 GB, free: 11.74 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.3965, allocations: 14.88 MB / 0.6269 GB, free: 13.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/8.962, allocations: 11.72 kB / 0.6269 GB, free: 13.09 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)