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.001076/0.001076, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001151/0.001151, allocations: 186.7 kB / 17.2 MB, free: 5.691 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.272/1.272, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7358/0.7358, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3143, allocations: 77.93 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01499/0.3294, allocations: 17.43 MB / 0.5843 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0057/0.3351, allocations: 4.92 MB / 0.5891 GB, free: 16.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006532/0.3358, allocations: 17.31 kB / 0.5891 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007461/0.3365, allocations: 249.1 kB / 0.5894 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.3383, allocations: 0.6118 MB / 0.59 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.3406, allocations: 0.7295 MB / 0.5907 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.3417, allocations: 0.9624 MB / 0.5916 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.3421, allocations: 335 kB / 0.5919 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.3426, allocations: 418.4 kB / 0.5923 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.343, allocations: 309.9 kB / 0.5926 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.343, allocations: 33.95 kB / 0.5927 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.3443, allocations: 0.7257 MB / 0.5934 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.3444, allocations: 130 kB / 0.5935 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.3447, allocations: 244.2 kB / 0.5937 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009299/0.3456, allocations: 0.8624 MB / 0.5946 GB, free: 12.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3456, allocations: 0 / 0.5946 GB, free: 12.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3456, allocations: 3.938 kB / 0.5946 GB, free: 12.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.3456, allocations: 3.938 kB / 0.5946 GB, free: 12.94 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.0009954/0.3466, allocations: 0.8751 MB / 0.5954 GB, free: 12.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3467, allocations: 10.34 kB / 0.5954 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.3467, allocations: 58.23 kB / 0.5955 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.3469, allocations: 63.78 kB / 0.5956 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.3473, allocations: 446.4 kB / 0.596 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.3474, allocations: 27.38 kB / 0.596 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.3474, allocations: 28.22 kB / 0.596 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.3479, allocations: 287.4 kB / 0.5963 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3479, allocations: 3.984 kB / 0.5963 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.3479, allocations: 11.31 kB / 0.5963 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3479, allocations: 5.812 kB / 0.5963 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.3483, allocations: 191.3 kB / 0.5965 GB, free: 11.4 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.001439/0.3498, allocations: 1.48 MB / 0.598 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.3501, allocations: 157.5 kB / 0.5981 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.3502, allocations: 84 kB / 0.5982 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.3514, allocations: 1.273 MB / 0.5994 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.3514, allocations: 43.97 kB / 0.5995 GB, free: 8.574 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.3515, allocations: 0 / 0.5995 GB, free: 8.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005875/0.352, allocations: 252.6 kB / 0.5997 GB, free: 8.441 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.3521, allocations: 56.69 kB / 0.5998 GB, free: 8.375 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.3526, allocations: 0.5857 MB / 0.6003 GB, free: 8.035 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3527, allocations: 30.98 kB / 0.6004 GB, free: 8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.3528, allocations: 270.1 kB / 0.6006 GB, free: 7.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.3528, allocations: 54.59 kB / 0.6007 GB, free: 7.715 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.3529, allocations: 74.5 kB / 0.6008 GB, free: 7.664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.353, allocations: 354.9 kB / 0.6011 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.3532, allocations: 86.11 kB / 0.6012 GB, free: 7.273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.3534, allocations: 207.6 kB / 0.6014 GB, free: 7.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.3538, allocations: 233.2 kB / 0.6016 GB, free: 6.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3538, allocations: 1.156 kB / 0.6016 GB, free: 6.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005236/0.3543, allocations: 317.6 kB / 0.6019 GB, free: 6.738 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3543, allocations: 4 kB / 0.6019 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3543, allocations: 4 kB / 0.6019 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3544, allocations: 4 kB / 0.6019 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.3546, allocations: 67.91 kB / 0.602 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3546, allocations: 4 kB / 0.602 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.3549, allocations: 43.88 kB / 0.602 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.3549, allocations: 20 kB / 0.602 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002394/0.3552, allocations: 212.6 kB / 0.6022 GB, free: 6.383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002051/0.3554, allocations: 218 kB / 0.6025 GB, free: 6.121 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002959/0.3557, allocations: 231.1 kB / 0.6027 GB, free: 5.863 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.3557, allocations: 0 / 0.6027 GB, free: 5.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004598/0.3562, allocations: 307.4 kB / 0.603 GB, free: 5.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.784e-06/0.3562, allocations: 14.28 kB / 0.603 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.3562, allocations: 0 / 0.603 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-06/0.3562, allocations: 7.984 kB / 0.603 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.3564, allocations: 63.91 kB / 0.603 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3564, allocations: 7.938 kB / 0.6031 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.3567, allocations: 35.92 kB / 0.6031 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.3568, allocations: 23.98 kB / 0.6031 GB, free: 5.41 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.54e-05/0.3568, allocations: 204.8 kB / 0.6033 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.3569, allocations: 51.31 kB / 0.6034 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.3574, allocations: 259.9 kB / 0.6036 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3574, allocations: 4.188 kB / 0.6036 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3574, allocations: 0 / 0.6036 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3574, allocations: 7.984 kB / 0.6036 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007473/0.3582, allocations: 0.7278 MB / 0.6043 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3582, allocations: 4.125 kB / 0.6043 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.3583, allocations: 35.97 kB / 0.6044 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3583, allocations: 4 kB / 0.6044 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3583, allocations: 4 kB / 0.6044 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3583, allocations: 0 / 0.6044 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3583, allocations: 0 / 0.6044 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.3587, allocations: 362.1 kB / 0.6047 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.3588, allocations: 140.5 kB / 0.6049 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.3589, allocations: 12 kB / 0.6049 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.359, allocations: 11.98 kB / 0.6049 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.3591, allocations: 19.92 kB / 0.6049 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3591, allocations: 11.98 kB / 0.6049 GB, free: 3.445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003132/0.3594, allocations: 418.8 kB / 0.6053 GB, free: 3.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3594, allocations: 0 / 0.6053 GB, free: 3.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000651/0.3601, allocations: 227.7 kB / 0.6055 GB, free: 2.816 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.001384/0.3615, allocations: 1.274 MB / 0.6068 GB, free: 1.676 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005813/0.3621, allocations: 332.1 kB / 0.6071 GB, free: 1.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3621, allocations: 0 / 0.6071 GB, free: 1.352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.3623, allocations: 83.89 kB / 0.6072 GB, free: 1.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3633, allocations: 251.8 kB / 0.6074 GB, free: 1.031 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.3677, allocations: 4.026 MB / 0.6113 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.3681, allocations: 0.8428 MB / 0.6122 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003391/0.3684, allocations: 106.4 kB / 0.6123 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.3686, allocations: 167.4 kB / 0.6124 GB, free: 11.7 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3686, allocations: 0 / 0.6124 GB, free: 11.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.4036, allocations: 14.87 MB / 0.6269 GB, free: 13.08 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/7.733, allocations: 11.78 kB / 0.6269 GB, free: 13.07 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)