Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_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.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7695/0.7695, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 65.91 kB / 0.5019 GB, free: 8.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1471, allocations: 80.2 MB / 0.5802 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4848/0.6319, allocations: 193.8 MB / 0.7695 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009029/0.641, allocations: 5.142 MB / 0.7745 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.6424, allocations: 51.69 kB / 0.7745 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.6444, allocations: 0.8042 MB / 0.7753 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006358/0.6508, allocations: 2.602 MB / 0.7779 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.6539, allocations: 1.114 MB / 0.7789 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004553/0.6584, allocations: 2.681 MB / 0.7816 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.6601, allocations: 0.9367 MB / 0.7825 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/0.6631, allocations: 1.109 MB / 0.7836 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.6651, allocations: 0.9846 MB / 0.7845 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.6653, allocations: 88 kB / 0.7846 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004739/0.6701, allocations: 1.785 MB / 0.7863 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006681/0.6708, allocations: 450.6 kB / 0.7868 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.6722, allocations: 0.6682 MB / 0.7874 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004259/0.6764, allocations: 2.189 MB / 0.7896 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.6765, allocations: 7.875 kB / 0.7896 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6765, allocations: 0 / 0.7896 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.433e-05/0.6765, allocations: 0 / 0.7896 GB, free: 12.29 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005407/0.6819, allocations: 1.954 MB / 0.7915 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.682, allocations: 12.03 kB / 0.7915 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.6822, allocations: 151.2 kB / 0.7916 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005681/0.6879, allocations: 0.8916 MB / 0.7925 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.6894, allocations: 0.9098 MB / 0.7934 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.6895, allocations: 66 kB / 0.7935 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.6897, allocations: 88 kB / 0.7935 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/0.6934, allocations: 1.579 MB / 0.7951 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.6934, allocations: 4 kB / 0.7951 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.6935, allocations: 40 kB / 0.7951 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.788e-05/0.6936, allocations: 45.98 kB / 0.7952 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005408/0.699, allocations: 1.854 MB / 0.797 GB, free: 4.555 MB / 0.6075 GB 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.007948/0.707, allocations: 4.751 MB / 0.8016 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004522/0.7115, allocations: 1.576 MB / 0.8032 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00235/0.7139, allocations: 0.8557 MB / 0.804 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.7152, allocations: 0.9413 MB / 0.8049 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002638/0.7178, allocations: 0.9066 MB / 0.8058 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.898e-06/0.7178, allocations: 0 / 0.8058 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.00813/0.726, allocations: 2.45 MB / 0.8082 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.7261, allocations: 68.41 kB / 0.8083 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.7279, allocations: 1.201 MB / 0.8094 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.7281, allocations: 45.7 kB / 0.8095 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/0.7286, allocations: 0.537 MB / 0.81 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004326/0.729, allocations: 323.3 kB / 0.8103 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004295/0.7294, allocations: 194.5 kB / 0.8105 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.7296, allocations: 337.9 kB / 0.8108 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002342/0.7319, allocations: 0.7045 MB / 0.8115 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.7345, allocations: 0.9221 MB / 0.8124 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004756/0.7392, allocations: 1.554 MB / 0.8139 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.7393, allocations: 0 / 0.8139 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005702/0.745, allocations: 1.776 MB / 0.8157 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.745, allocations: 8 kB / 0.8157 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.745, allocations: 4 kB / 0.8157 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/0.7451, allocations: 8 kB / 0.8157 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.7469, allocations: 347.9 kB / 0.816 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/0.7469, allocations: 12 kB / 0.816 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.7487, allocations: 230.7 kB / 0.8162 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.7489, allocations: 48.06 kB / 0.8163 GB, free: 176 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.000756/0.7496, allocations: 337.2 kB / 0.8166 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000386/0.75, allocations: 142.3 kB / 0.8167 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005355/0.7554, allocations: 1.805 MB / 0.8185 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.7554, allocations: 8 kB / 0.8185 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7554, allocations: 0 / 0.8185 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.7554, allocations: 3.984 kB / 0.8185 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007513/0.763, allocations: 3.328 MB / 0.8218 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.763, allocations: 7.984 kB / 0.8218 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/0.7647, allocations: 296 kB / 0.8221 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.7647, allocations: 4 kB / 0.8221 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.7648, allocations: 39.97 kB / 0.8221 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.7649, allocations: 4 kB / 0.8221 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.7649, allocations: 11.94 kB / 0.8221 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007646/0.7725, allocations: 2.843 MB / 0.8249 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006404/0.7732, allocations: 324 kB / 0.8252 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/0.7735, allocations: 32 kB / 0.8252 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/0.775, allocations: 151.8 kB / 0.8254 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.7752, allocations: 68.44 kB / 0.8254 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.285e-05/0.7753, allocations: 47.97 kB / 0.8255 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001054/0.7763, allocations: 0.8315 MB / 0.8263 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7764, allocations: 0 / 0.8263 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00113/0.7775, allocations: 335.7 kB / 0.8266 GB, free: 5.383 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (95): * Single equations (assignments): 89 * 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.009025/0.7865, allocations: 3.83 MB / 0.8304 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005538/0.7921, allocations: 1.783 MB / 0.8321 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.7921, allocations: 0 / 0.8321 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.7946, allocations: 0.836 MB / 0.8329 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/0.7977, allocations: 0.6226 MB / 0.8335 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02612/0.8239, allocations: 12.87 MB / 0.8461 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008087/0.8247, allocations: 1.183 MB / 0.8472 GB, free: 15.83 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001677/0.8264, allocations: 365.9 kB / 0.8476 GB, free: 15.47 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007704/0.8272, allocations: 0.507 MB / 0.8481 GB, free: 14.96 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/0.8272, allocations: 0 / 0.8481 GB, free: 14.96 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3417/1.169, allocations: 35.27 MB / 0.8825 GB, free: 218.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/9.439, allocations: 6.891 kB / 0.8825 GB, free: 218.4 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)