Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001599/0.001599, 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.002115/0.002115, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.408/1.408, 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/package.mo): time 0.7808/0.7808, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.97 kB / 0.5019 GB, free: 8.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1746, allocations: 80.21 MB / 0.5802 GB, free: 8.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.511/0.6856, allocations: 193.8 MB / 0.7695 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.6973, allocations: 5.13 MB / 0.7745 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.6992, allocations: 47.69 kB / 0.7745 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.7013, allocations: 0.8119 MB / 0.7753 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006631/0.708, allocations: 2.602 MB / 0.7779 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.7111, allocations: 1.108 MB / 0.7789 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003935/0.715, allocations: 2.599 MB / 0.7815 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.7167, allocations: 0.8865 MB / 0.7823 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.7192, allocations: 1.086 MB / 0.7834 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.7212, allocations: 0.9456 MB / 0.7843 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000421/0.7217, allocations: 80 kB / 0.7844 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004438/0.7261, allocations: 1.785 MB / 0.7861 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007499/0.7269, allocations: 442.6 kB / 0.7866 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.7287, allocations: 0.6488 MB / 0.7872 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005181/0.7339, allocations: 2.15 MB / 0.7893 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.7339, allocations: 0 / 0.7893 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.734, allocations: 3.938 kB / 0.7893 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.979e-05/0.7341, allocations: 0 / 0.7893 GB, free: 12.52 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006383/0.7404, allocations: 1.935 MB / 0.7912 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.7405, allocations: 12.03 kB / 0.7912 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002732/0.7408, allocations: 135.5 kB / 0.7913 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00462/0.7454, allocations: 0.7044 MB / 0.792 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.7472, allocations: 0.8981 MB / 0.7929 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.7473, allocations: 66 kB / 0.793 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/0.7476, allocations: 84 kB / 0.793 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/0.7511, allocations: 1.465 MB / 0.7945 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.7512, allocations: 4 kB / 0.7945 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.7513, allocations: 43.97 kB / 0.7945 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.406e-05/0.7514, allocations: 45.98 kB / 0.7946 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004494/0.7559, allocations: 1.549 MB / 0.7961 GB, free: 5.406 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.007888/0.7638, allocations: 5.051 MB / 0.801 GB, free: 108 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/0.7674, allocations: 1.186 MB / 0.8022 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.7692, allocations: 0.6618 MB / 0.8028 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.7706, allocations: 0.9371 MB / 0.8037 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001964/0.7726, allocations: 0.7225 MB / 0.8044 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 3.798e-06/0.7726, allocations: 4 kB / 0.8044 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.006314/0.779, allocations: 1.952 MB / 0.8063 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.779, allocations: 64.06 kB / 0.8064 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.7809, allocations: 1.264 MB / 0.8076 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.781, allocations: 45.7 kB / 0.8077 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005839/0.7816, allocations: 0.5755 MB / 0.8082 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.782, allocations: 284 kB / 0.8085 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/0.7823, allocations: 190.5 kB / 0.8087 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.7825, allocations: 338 kB / 0.809 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.7842, allocations: 0.5406 MB / 0.8095 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.7861, allocations: 0.8247 MB / 0.8104 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003503/0.7896, allocations: 1.344 MB / 0.8117 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.517e-06/0.7896, allocations: 4 kB / 0.8117 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004421/0.7941, allocations: 1.514 MB / 0.8131 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.7941, allocations: 10.19 kB / 0.8132 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.7941, allocations: 8.797 kB / 0.8132 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.7942, allocations: 12 kB / 0.8132 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.7956, allocations: 295.5 kB / 0.8135 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.523e-05/0.7957, allocations: 15.94 kB / 0.8135 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.7972, allocations: 206.6 kB / 0.8137 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.7973, allocations: 47.97 kB / 0.8137 GB, free: 2.633 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0006314/0.798, allocations: 335.7 kB / 0.814 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/0.7983, allocations: 134.3 kB / 0.8142 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/0.8025, allocations: 1.444 MB / 0.8156 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.8025, allocations: 8.094 kB / 0.8156 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.8025, allocations: 11.92 kB / 0.8156 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.8026, allocations: 7.922 kB / 0.8156 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006548/0.8091, allocations: 2.858 MB / 0.8184 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.8092, allocations: 7.5 kB / 0.8184 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.8105, allocations: 227.8 kB / 0.8186 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.8105, allocations: 8 kB / 0.8186 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.915e-05/0.8106, allocations: 31.95 kB / 0.8187 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/0.8106, allocations: 7.984 kB / 0.8187 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.8106, allocations: 11.94 kB / 0.8187 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005896/0.8165, allocations: 2.303 MB / 0.8209 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006951/0.8173, allocations: 303.2 kB / 0.8212 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/0.8176, allocations: 23.98 kB / 0.8212 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.8189, allocations: 111.9 kB / 0.8213 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.8191, allocations: 68.36 kB / 0.8214 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-05/0.8192, allocations: 39.97 kB / 0.8214 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001266/0.8205, allocations: 0.8684 MB / 0.8223 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8205, allocations: 0 / 0.8223 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001104/0.8216, allocations: 319.7 kB / 0.8226 GB, free: 9.324 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.007331/0.8289, allocations: 3.287 MB / 0.8258 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004328/0.8333, allocations: 1.421 MB / 0.8272 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.8333, allocations: 0 / 0.8272 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.8351, allocations: 0.6638 MB / 0.8278 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/0.8383, allocations: 0.6197 MB / 0.8284 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/0.8615, allocations: 11.97 MB / 0.8401 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.8627, allocations: 1.182 MB / 0.8413 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00171/0.8644, allocations: 350.2 kB / 0.8416 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008387/0.8653, allocations: 499.2 kB / 0.8421 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of SimCode: time 1.483e-06/0.8653, allocations: 4 kB / 0.8421 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3488/1.214, allocations: 34.6 MB / 0.8759 GB, free: 224 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/9.462, allocations: 4.781 kB / 0.8759 GB, free: 224 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_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_TSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)