Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_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.001021/0.001021, allocations: 108 kB / 15.61 MB, free: 152 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.0011/0.0011, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9629/0.9629, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 56.61 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1831, allocations: 80.94 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.571/0.7541, allocations: 193.8 MB / 0.7737 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.7646, allocations: 5.134 MB / 0.7787 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.7666, allocations: 47.69 kB / 0.7788 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.769, allocations: 0.8119 MB / 0.7796 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007931/0.777, allocations: 2.602 MB / 0.7821 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.7804, allocations: 1.112 MB / 0.7832 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004326/0.7847, allocations: 2.669 MB / 0.7858 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.7868, allocations: 0.945 MB / 0.7867 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002491/0.7893, allocations: 1.105 MB / 0.7878 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.7912, allocations: 0.9846 MB / 0.7888 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003592/0.7916, allocations: 88 kB / 0.7889 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004069/0.7957, allocations: 1.785 MB / 0.7906 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007231/0.7964, allocations: 446.6 kB / 0.791 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.7976, allocations: 0.6765 MB / 0.7917 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004808/0.8024, allocations: 2.189 MB / 0.7938 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8024, allocations: 0 / 0.7938 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8024, allocations: 0 / 0.7938 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.981e-05/0.8025, allocations: 0 / 0.7938 GB, free: 6.41 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.005912/0.8084, allocations: 1.963 MB / 0.7957 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8085, allocations: 8.031 kB / 0.7958 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/0.8087, allocations: 147.6 kB / 0.7959 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005967/0.8147, allocations: 0.8877 MB / 0.7968 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.8174, allocations: 0.915 MB / 0.7977 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.8176, allocations: 66 kB / 0.7977 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/0.818, allocations: 95.98 kB / 0.7978 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004861/0.8229, allocations: 1.579 MB / 0.7994 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.8229, allocations: 0 / 0.7994 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.8231, allocations: 39.98 kB / 0.7994 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-05/0.8232, allocations: 45.98 kB / 0.7994 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005805/0.829, allocations: 1.85 MB / 0.8012 GB, free: 14.66 MB / 0.6231 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.008944/0.8379, allocations: 4.759 MB / 0.8059 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004716/0.8427, allocations: 1.564 MB / 0.8074 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002422/0.8451, allocations: 0.8584 MB / 0.8083 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001488/0.8466, allocations: 0.9491 MB / 0.8092 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002722/0.8493, allocations: 0.907 MB / 0.8101 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 5.831e-06/0.8494, allocations: 4 kB / 0.8101 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.008668/0.858, allocations: 2.446 MB / 0.8125 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.8581, allocations: 64.41 kB / 0.8125 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.8601, allocations: 1.197 MB / 0.8137 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.8602, allocations: 45.7 kB / 0.8137 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.8607, allocations: 0.5409 MB / 0.8143 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.8611, allocations: 331.3 kB / 0.8146 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003765/0.8615, allocations: 190.5 kB / 0.8148 GB, free: 352 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.8618, allocations: 338 kB / 0.8151 GB, free: 8 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.8641, allocations: 0.7005 MB / 0.8158 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.8666, allocations: 0.9182 MB / 0.8167 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004811/0.8714, allocations: 1.55 MB / 0.8182 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.8715, allocations: 3.984 kB / 0.8182 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005344/0.8768, allocations: 1.784 MB / 0.8199 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.8769, allocations: 10.5 kB / 0.8199 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.8769, allocations: 4 kB / 0.8199 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.8769, allocations: 8.438 kB / 0.8199 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.8788, allocations: 339.5 kB / 0.8203 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.187e-05/0.8788, allocations: 17.09 kB / 0.8203 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.8807, allocations: 226.7 kB / 0.8205 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.8809, allocations: 47.97 kB / 0.8205 GB, free: 10.28 MB / 0.6387 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.0008763/0.8818, allocations: 339.7 kB / 0.8209 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/0.8822, allocations: 138.3 kB / 0.821 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005549/0.8878, allocations: 1.803 MB / 0.8228 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.8878, allocations: 11.98 kB / 0.8228 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.8879, allocations: 4 kB / 0.8228 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.8879, allocations: 3.984 kB / 0.8228 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008235/0.8961, allocations: 3.328 MB / 0.826 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.8961, allocations: 4.5 kB / 0.826 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/0.8979, allocations: 297 kB / 0.8263 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/0.8979, allocations: 8 kB / 0.8263 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.898, allocations: 31.97 kB / 0.8264 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.464e-05/0.898, allocations: 11.94 kB / 0.8264 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.8981, allocations: 4 kB / 0.8264 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007998/0.9061, allocations: 2.843 MB / 0.8291 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007789/0.9069, allocations: 323.1 kB / 0.8295 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003686/0.9073, allocations: 31.98 kB / 0.8295 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.9089, allocations: 151.8 kB / 0.8296 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.9091, allocations: 68.55 kB / 0.8297 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.9093, allocations: 48.72 kB / 0.8297 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001571/0.9108, allocations: 0.8353 MB / 0.8306 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9108, allocations: 3.938 kB / 0.8306 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001404/0.9123, allocations: 335.7 kB / 0.8309 GB, free: 15.48 MB / 0.6544 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.009489/0.9218, allocations: 3.826 MB / 0.8346 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005691/0.9275, allocations: 1.779 MB / 0.8364 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.9275, allocations: 256 / 0.8364 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.93, allocations: 0.8436 MB / 0.8372 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/0.9333, allocations: 0.6152 MB / 0.8378 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02862/0.9619, allocations: 12.87 MB / 0.8504 GB, free: 11.12 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.9633, allocations: 1.19 MB / 0.8515 GB, free: 9.91 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001765/0.9651, allocations: 358 kB / 0.8519 GB, free: 9.559 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009763/0.9661, allocations: 0.5031 MB / 0.8523 GB, free: 9.059 MB / 0.67 GB Notification: Performance of SimCode: time 1.113e-06/0.9661, allocations: 0 / 0.8523 GB, free: 9.059 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3646/1.331, allocations: 35.3 MB / 0.8868 GB, free: 218.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/9.57, allocations: 10.33 kB / 0.8868 GB, free: 218.9 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)