Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001484/0.001484, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.00157/0.00157, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8394/0.8394, allocations: 126.7 MB / 417.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 72.33 kB / 0.5736 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1731, allocations: 78.86 MB / 0.6506 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6483/0.8214, allocations: 241.7 MB / 0.8866 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01639/0.8379, allocations: 8.4 MB / 0.8948 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.8405, allocations: 67.56 kB / 0.8949 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003342/0.8439, allocations: 1.048 MB / 0.8959 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.8544, allocations: 3.064 MB / 0.8989 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.865, allocations: 3.524 MB / 0.9024 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007209/0.8722, allocations: 3.917 MB / 0.9062 GB, free: 13.25 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/0.8754, allocations: 1.352 MB / 0.9075 GB, free: 11.86 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005807/0.8812, allocations: 2.187 MB / 0.9096 GB, free: 9.668 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/0.884, allocations: 1.35 MB / 0.911 GB, free: 8.312 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006297/0.8847, allocations: 128 kB / 0.9111 GB, free: 8.188 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009176/0.8939, allocations: 3.924 MB / 0.9149 GB, free: 4.254 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.8951, allocations: 0.5957 MB / 0.9155 GB, free: 3.656 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002179/0.8973, allocations: 0.9792 MB / 0.9164 GB, free: 2.672 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009998/0.9073, allocations: 3.858 MB / 0.9202 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.9073, allocations: 0 / 0.9202 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9073, allocations: 0 / 0.9202 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.615e-05/0.9075, allocations: 0 / 0.9202 GB, free: 14.8 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.007445/0.9149, allocations: 2.712 MB / 0.9229 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.915, allocations: 8.031 kB / 0.9229 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003618/0.9153, allocations: 194.4 kB / 0.9231 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007318/0.9227, allocations: 1.097 MB / 0.9241 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/0.9257, allocations: 1.263 MB / 0.9254 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.9258, allocations: 98.56 kB / 0.9255 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003344/0.9262, allocations: 139.9 kB / 0.9256 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004586/0.9308, allocations: 1.968 MB / 0.9275 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/0.9308, allocations: 4 kB / 0.9275 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.931, allocations: 63.92 kB / 0.9276 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.669e-05/0.9311, allocations: 66.23 kB / 0.9276 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005367/0.9365, allocations: 1.87 MB / 0.9295 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.9496, allocations: 9.174 MB / 0.9384 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004616/0.9543, allocations: 1.6 MB / 0.94 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/0.9565, allocations: 0.7858 MB / 0.9407 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.9576, allocations: 0.5893 MB / 0.9413 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002313/0.9599, allocations: 0.8559 MB / 0.9422 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=104): time 4.037e-06/0.96, allocations: 0 / 0.9422 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of matching and sorting (n=104): time 0.00716/0.9671, allocations: 2.326 MB / 0.9444 GB, free: 4.941 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.9672, allocations: 68.41 kB / 0.9445 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.9697, allocations: 1.665 MB / 0.9461 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.9699, allocations: 45.7 kB / 0.9462 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008402/0.9708, allocations: 0.8478 MB / 0.947 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004301/0.9712, allocations: 372.8 kB / 0.9474 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004297/0.9716, allocations: 238.8 kB / 0.9476 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.9718, allocations: 361.8 kB / 0.9479 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.9738, allocations: 0.6622 MB / 0.9486 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.9762, allocations: 1.055 MB / 0.9496 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004278/0.9805, allocations: 1.704 MB / 0.9513 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.9805, allocations: 7.938 kB / 0.9513 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005282/0.9858, allocations: 1.933 MB / 0.9532 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.9859, allocations: 9.875 kB / 0.9532 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.9859, allocations: 12.5 kB / 0.9532 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.9859, allocations: 16 kB / 0.9532 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.9878, allocations: 363.6 kB / 0.9535 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.133e-05/0.9878, allocations: 27.92 kB / 0.9536 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.9897, allocations: 251.2 kB / 0.9538 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.9898, allocations: 67.97 kB / 0.9539 GB, free: 10.91 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.000823/0.9907, allocations: 404.4 kB / 0.9543 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/0.9911, allocations: 194.7 kB / 0.9544 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004996/0.9961, allocations: 1.785 MB / 0.9562 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.9962, allocations: 8 kB / 0.9562 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.9962, allocations: 0 / 0.9562 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.9962, allocations: 11.92 kB / 0.9562 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008506/1.005, allocations: 3.939 MB / 0.9601 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.005, allocations: 8 kB / 0.9601 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/1.006, allocations: 268.4 kB / 0.9603 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/1.006, allocations: 12 kB / 0.9603 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.006, allocations: 35.97 kB / 0.9604 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.651e-05/1.006, allocations: 15.94 kB / 0.9604 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.006, allocations: 8 kB / 0.9604 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007055/1.014, allocations: 2.879 MB / 0.9632 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.015, allocations: 383.6 kB / 0.9636 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/1.015, allocations: 31.98 kB / 0.9636 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.016, allocations: 123.9 kB / 0.9637 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/1.017, allocations: 92.38 kB / 0.9638 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.017, allocations: 43.97 kB / 0.9638 GB, free: 424 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001821/1.019, allocations: 1.131 MB / 0.9649 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.019, allocations: 0 / 0.9649 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001448/1.02, allocations: 475.4 kB / 0.9654 GB, free: 14.83 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (104): * Single equations (assignments): 98 * 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.009039/1.029, allocations: 3.923 MB / 0.9692 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004567/1.034, allocations: 1.613 MB / 0.9708 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.034, allocations: 8.062 kB / 0.9708 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/1.036, allocations: 0.7935 MB / 0.9716 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004272/1.04, allocations: 0.9272 MB / 0.9725 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/1.072, allocations: 14.94 MB / 0.9871 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/1.073, allocations: 1.365 MB / 0.9884 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001863/1.075, allocations: 458.6 kB / 0.9889 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.076, allocations: 0.7101 MB / 0.9895 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/1.076, allocations: 0 / 0.9895 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/1.191, allocations: 48.86 MB / 1.037 GB, free: 5.121 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.77, allocations: 9.094 kB / 1.037 GB, free: 5.113 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_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_X_wSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)