Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_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.001038/0.001038, 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.001038/0.001038, allocations: 194.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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9702/0.9702, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 68.33 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1826, allocations: 80.92 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5536/0.7362, allocations: 193.8 MB / 0.7737 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.7473, allocations: 5.13 MB / 0.7787 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.7491, allocations: 47.62 kB / 0.7788 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.7513, allocations: 0.8197 MB / 0.7796 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007623/0.759, allocations: 2.587 MB / 0.7821 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.7622, allocations: 1.112 MB / 0.7832 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003669/0.7658, allocations: 2.599 MB / 0.7857 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.7672, allocations: 0.883 MB / 0.7866 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.7693, allocations: 1.086 MB / 0.7877 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.7708, allocations: 0.9573 MB / 0.7886 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.7709, allocations: 80 kB / 0.7887 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003815/0.7748, allocations: 1.777 MB / 0.7904 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004952/0.7753, allocations: 442.6 kB / 0.7908 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000814/0.7761, allocations: 0.6566 MB / 0.7915 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003677/0.7798, allocations: 2.146 MB / 0.7936 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.7798, allocations: 7.984 kB / 0.7936 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7798, allocations: 0 / 0.7936 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.7798, allocations: 0 / 0.7936 GB, free: 6.605 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.005049/0.7849, allocations: 1.925 MB / 0.7955 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.785, allocations: 8.031 kB / 0.7955 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/0.7851, allocations: 143.4 kB / 0.7956 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004342/0.7895, allocations: 0.7083 MB / 0.7963 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.7909, allocations: 0.8826 MB / 0.7972 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/0.791, allocations: 65.98 kB / 0.7972 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.7911, allocations: 95.89 kB / 0.7973 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/0.7949, allocations: 1.461 MB / 0.7987 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.7949, allocations: 3.938 kB / 0.7987 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.7951, allocations: 35.98 kB / 0.7988 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.52e-05/0.7952, allocations: 49.98 kB / 0.7988 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005874/0.8011, allocations: 1.561 MB / 0.8003 GB, free: 15.49 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.0102/0.8113, allocations: 5.043 MB / 0.8053 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00476/0.8161, allocations: 1.192 MB / 0.8064 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/0.8186, allocations: 0.6636 MB / 0.8071 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/0.8204, allocations: 0.9371 MB / 0.808 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003024/0.8234, allocations: 0.7225 MB / 0.8087 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 6.702e-06/0.8235, allocations: 4 kB / 0.8087 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.008946/0.8324, allocations: 1.952 MB / 0.8106 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.8325, allocations: 60.06 kB / 0.8107 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.835, allocations: 1.268 MB / 0.8119 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.8351, allocations: 41.7 kB / 0.812 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.8358, allocations: 0.5755 MB / 0.8125 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004/0.8362, allocations: 280 kB / 0.8128 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005193/0.8368, allocations: 186.5 kB / 0.813 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.837, allocations: 337.9 kB / 0.8133 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/0.8392, allocations: 0.5484 MB / 0.8138 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/0.8418, allocations: 0.8235 MB / 0.8146 GB, free: 288 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004738/0.8466, allocations: 1.348 MB / 0.8159 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.8466, allocations: 0 / 0.8159 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005814/0.8524, allocations: 1.51 MB / 0.8174 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.8525, allocations: 8 kB / 0.8174 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.8525, allocations: 8.812 kB / 0.8174 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.955e-05/0.8526, allocations: 12 kB / 0.8174 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/0.8546, allocations: 299.5 kB / 0.8177 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.531e-05/0.8547, allocations: 15.94 kB / 0.8177 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.8568, allocations: 202.6 kB / 0.8179 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.857, allocations: 55.95 kB / 0.818 GB, free: 12.73 MB / 0.6387 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.0008914/0.8579, allocations: 331.7 kB / 0.8183 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/0.8584, allocations: 138.3 kB / 0.8184 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005791/0.8642, allocations: 1.448 MB / 0.8198 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.8643, allocations: 11.94 kB / 0.8199 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.8643, allocations: 0 / 0.8199 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.8643, allocations: 7.922 kB / 0.8199 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008865/0.8732, allocations: 2.864 MB / 0.8227 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.8732, allocations: 7.125 kB / 0.8227 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.875, allocations: 227.8 kB / 0.8229 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/0.875, allocations: 8 kB / 0.8229 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.8751, allocations: 23.98 kB / 0.8229 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-05/0.8751, allocations: 12.08 kB / 0.8229 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.8752, allocations: 15.88 kB / 0.8229 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007246/0.8824, allocations: 2.299 MB / 0.8252 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006454/0.8831, allocations: 303.2 kB / 0.8255 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/0.8834, allocations: 23.98 kB / 0.8255 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.8847, allocations: 111.9 kB / 0.8256 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.8849, allocations: 68.36 kB / 0.8257 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.675e-05/0.885, allocations: 35.97 kB / 0.8257 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00134/0.8863, allocations: 0.8723 MB / 0.8266 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8863, allocations: 0 / 0.8266 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001181/0.8875, allocations: 319.7 kB / 0.8269 GB, free: 3.43 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.007653/0.8952, allocations: 3.283 MB / 0.8301 GB, free: 268 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004367/0.8996, allocations: 1.433 MB / 0.8315 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.8996, allocations: 3.938 kB / 0.8315 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.9015, allocations: 0.656 MB / 0.8321 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/0.9047, allocations: 0.6305 MB / 0.8327 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/0.9294, allocations: 11.97 MB / 0.8444 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.9305, allocations: 1.171 MB / 0.8456 GB, free: 15.75 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001667/0.9321, allocations: 346.2 kB / 0.8459 GB, free: 15.41 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008399/0.933, allocations: 499.2 kB / 0.8464 GB, free: 14.92 MB / 0.67 GB Notification: Performance of SimCode: time 8.11e-07/0.933, allocations: 3.938 kB / 0.8464 GB, free: 14.92 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3541/1.287, allocations: 34.63 MB / 0.8802 GB, free: 214.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/9.525, allocations: 8.703 kB / 0.8802 GB, free: 214.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)