Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.001949/0.001949, allocations: 107.8 kB / 16.41 MB, free: 6.445 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.00213/0.00213, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7987/0.7987, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 73.3 kB / 0.5736 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1556, allocations: 78.86 MB / 0.6506 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6463/0.802, allocations: 241.7 MB / 0.8866 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01524/0.8173, allocations: 8.407 MB / 0.8948 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002672/0.82, allocations: 67.56 kB / 0.8949 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.8234, allocations: 1.048 MB / 0.8959 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009092/0.8326, allocations: 3.064 MB / 0.8989 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009602/0.8422, allocations: 3.532 MB / 0.9024 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006969/0.8492, allocations: 3.975 MB / 0.9062 GB, free: 13.26 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.852, allocations: 1.403 MB / 0.9076 GB, free: 11.83 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005535/0.8576, allocations: 2.215 MB / 0.9098 GB, free: 9.605 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/0.8605, allocations: 1.393 MB / 0.9111 GB, free: 8.207 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004173/0.8609, allocations: 136 kB / 0.9113 GB, free: 8.074 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008286/0.8692, allocations: 3.936 MB / 0.9151 GB, free: 4.129 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.8704, allocations: 0.6035 MB / 0.9157 GB, free: 3.523 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.8721, allocations: 0.9987 MB / 0.9167 GB, free: 2.52 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009394/0.8815, allocations: 3.912 MB / 0.9205 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.8815, allocations: 4 kB / 0.9205 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8815, allocations: 0 / 0.9205 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.28e-05/0.8816, allocations: 0 / 0.9205 GB, free: 14.59 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.007219/0.8888, allocations: 2.737 MB / 0.9232 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.8889, allocations: 12.02 kB / 0.9232 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002514/0.8892, allocations: 194.5 kB / 0.9234 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008856/0.898, allocations: 1.325 MB / 0.9247 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.901, allocations: 1.298 MB / 0.9259 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.9011, allocations: 102.6 kB / 0.926 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/0.9014, allocations: 133.5 kB / 0.9262 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.9063, allocations: 2.071 MB / 0.9282 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.9064, allocations: 8 kB / 0.9282 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.9065, allocations: 52 kB / 0.9282 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.883e-05/0.9066, allocations: 66.45 kB / 0.9283 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006374/0.913, allocations: 2.18 MB / 0.9304 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/0.9262, allocations: 8.38 MB / 0.9386 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005418/0.9316, allocations: 1.877 MB / 0.9404 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002813/0.9345, allocations: 0.9886 MB / 0.9414 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/0.936, allocations: 0.9413 MB / 0.9423 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0031/0.9391, allocations: 1.063 MB / 0.9434 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=119): time 4.929e-06/0.9392, allocations: 0 / 0.9434 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of matching and sorting (n=119): time 0.00911/0.9483, allocations: 2.876 MB / 0.9462 GB, free: 3.281 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.9484, allocations: 68.41 kB / 0.9462 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.9507, allocations: 1.627 MB / 0.9478 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.9509, allocations: 49.7 kB / 0.9479 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007308/0.9516, allocations: 0.8092 MB / 0.9487 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004952/0.9521, allocations: 428.3 kB / 0.9491 GB, free: 288 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004374/0.9526, allocations: 242.9 kB / 0.9493 GB, free: 40 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.9528, allocations: 354 kB / 0.9496 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/0.9553, allocations: 0.8182 MB / 0.9504 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002894/0.9582, allocations: 1.15 MB / 0.9516 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005345/0.9636, allocations: 1.93 MB / 0.9534 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.9637, allocations: 0 / 0.9534 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006348/0.97, allocations: 2.195 MB / 0.9556 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.9701, allocations: 8 kB / 0.9556 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.9701, allocations: 12.09 kB / 0.9556 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/0.9701, allocations: 16 kB / 0.9556 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.9723, allocations: 411.3 kB / 0.956 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.814e-05/0.9724, allocations: 12 kB / 0.956 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.9747, allocations: 294.7 kB / 0.9563 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.9749, allocations: 64.84 kB / 0.9564 GB, free: 8.559 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 161 * 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.0008408/0.9757, allocations: 403.5 kB / 0.9568 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004131/0.9761, allocations: 198.7 kB / 0.9569 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00621/0.9824, allocations: 2.157 MB / 0.9591 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.9824, allocations: 12 kB / 0.9591 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.9824, allocations: 7.984 kB / 0.9591 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.9825, allocations: 3.984 kB / 0.9591 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009932/0.9924, allocations: 4.479 MB / 0.9635 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.9925, allocations: 4 kB / 0.9635 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/0.9945, allocations: 331.6 kB / 0.9638 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.128e-05/0.9945, allocations: 12 kB / 0.9638 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.9947, allocations: 47.91 kB / 0.9638 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.9947, allocations: 8 kB / 0.9638 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.397e-05/0.9947, allocations: 19.88 kB / 0.9639 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008814/1.004, allocations: 3.449 MB / 0.9672 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009627/1.005, allocations: 411.5 kB / 0.9676 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/1.005, allocations: 31.98 kB / 0.9676 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/1.007, allocations: 171.8 kB / 0.9678 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/1.007, allocations: 92.72 kB / 0.9679 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.007, allocations: 55.95 kB / 0.968 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001673/1.009, allocations: 1.11 MB / 0.969 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.154e-06/1.009, allocations: 0 / 0.969 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001616/1.01, allocations: 495.4 kB / 0.9695 GB, free: 10.82 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.01117/1.021, allocations: 4.502 MB / 0.9739 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00605/1.028, allocations: 1.954 MB / 0.9758 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.028, allocations: 256 / 0.9758 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003/1.031, allocations: 0.9984 MB / 0.9768 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00483/1.035, allocations: 0.9421 MB / 0.9777 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03673/1.072, allocations: 15.99 MB / 0.9933 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.073, allocations: 1.38 MB / 0.9947 GB, free: 500 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002162/1.076, allocations: 478.8 kB / 0.9951 GB, free: 16 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/1.077, allocations: 0.7179 MB / 0.9958 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of SimCode: time 8.02e-07/1.077, allocations: 0 / 0.9958 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/1.185, allocations: 50.6 MB / 1.045 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.41, allocations: 9.125 kB / 1.045 GB, free: 13.23 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)