Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_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.001284/0.001284, 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.001582/0.001582, allocations: 198 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9934/0.9934, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002416/0.002416, allocations: 64.75 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.184, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.63/0.8141, allocations: 193.8 MB / 0.7737 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009496/0.8237, allocations: 5.131 MB / 0.7787 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.8249, allocations: 47.69 kB / 0.7788 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.8268, allocations: 0.8081 MB / 0.7796 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006205/0.8331, allocations: 2.606 MB / 0.7821 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.8357, allocations: 1.115 MB / 0.7832 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003348/0.8391, allocations: 2.607 MB / 0.7858 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.8405, allocations: 0.89 MB / 0.7866 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.8424, allocations: 1.078 MB / 0.7877 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.8437, allocations: 0.9456 MB / 0.7886 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.8438, allocations: 80 kB / 0.7887 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.8475, allocations: 1.781 MB / 0.7904 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004497/0.848, allocations: 430.7 kB / 0.7908 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007079/0.8487, allocations: 0.6526 MB / 0.7915 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004064/0.8528, allocations: 2.138 MB / 0.7936 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.8528, allocations: 0 / 0.7936 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8528, allocations: 0 / 0.7936 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.8529, allocations: 4 kB / 0.7936 GB, free: 6.656 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.005169/0.858, allocations: 1.917 MB / 0.7954 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.8581, allocations: 16.02 kB / 0.7954 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/0.8583, allocations: 139.5 kB / 0.7956 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003922/0.8622, allocations: 0.6576 MB / 0.7962 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.8637, allocations: 0.8825 MB / 0.7971 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.8638, allocations: 66 kB / 0.7971 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.864, allocations: 87.91 kB / 0.7972 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003084/0.8671, allocations: 1.478 MB / 0.7987 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.8671, allocations: 3.938 kB / 0.7987 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.8672, allocations: 35.98 kB / 0.7987 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.873e-05/0.8673, allocations: 49.98 kB / 0.7988 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004015/0.8713, allocations: 1.526 MB / 0.8002 GB, free: 15.61 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.0073/0.8786, allocations: 5.488 MB / 0.8056 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003869/0.8825, allocations: 1.291 MB / 0.8069 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.8842, allocations: 0.657 MB / 0.8075 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.8853, allocations: 0.5935 MB / 0.8081 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0023/0.8876, allocations: 0.7068 MB / 0.8088 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 5.14e-06/0.8876, allocations: 0 / 0.8088 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.009126/0.8968, allocations: 1.874 MB / 0.8106 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.8969, allocations: 60.06 kB / 0.8107 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.8993, allocations: 1.243 MB / 0.8119 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.8994, allocations: 49.69 kB / 0.8119 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006738/0.9001, allocations: 0.5753 MB / 0.8125 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/0.9005, allocations: 268.1 kB / 0.8127 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005122/0.9011, allocations: 190.5 kB / 0.8129 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.9012, allocations: 345.9 kB / 0.8133 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002686/0.9039, allocations: 0.5405 MB / 0.8138 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.9059, allocations: 0.8212 MB / 0.8146 GB, free: 376 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/0.9092, allocations: 1.328 MB / 0.8159 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.9092, allocations: 0 / 0.8159 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003925/0.9132, allocations: 1.495 MB / 0.8173 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.9132, allocations: 10.97 kB / 0.8174 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.9132, allocations: 8 kB / 0.8174 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.9133, allocations: 12 kB / 0.8174 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.9147, allocations: 300.2 kB / 0.8177 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.463e-05/0.9147, allocations: 15.94 kB / 0.8177 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.9161, allocations: 202.7 kB / 0.8179 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.9162, allocations: 47.97 kB / 0.8179 GB, free: 12.85 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0005354/0.9167, allocations: 335.7 kB / 0.8182 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.917, allocations: 142.2 kB / 0.8184 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/0.921, allocations: 1.397 MB / 0.8197 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.921, allocations: 12 kB / 0.8197 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.921, allocations: 0 / 0.8197 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.921, allocations: 3.984 kB / 0.8197 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006409/0.9274, allocations: 2.803 MB / 0.8225 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.9275, allocations: 4 kB / 0.8225 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.9287, allocations: 227.1 kB / 0.8227 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/0.9288, allocations: 8 kB / 0.8227 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.06e-05/0.9288, allocations: 31.97 kB / 0.8227 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.9289, allocations: 4 kB / 0.8227 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.956e-06/0.9289, allocations: 11.94 kB / 0.8228 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005543/0.9344, allocations: 2.248 MB / 0.825 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005616/0.935, allocations: 291.3 kB / 0.8252 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.9353, allocations: 20 kB / 0.8253 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.9365, allocations: 115.9 kB / 0.8254 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.9366, allocations: 60.38 kB / 0.8254 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.9367, allocations: 35.97 kB / 0.8255 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001171/0.9379, allocations: 0.8561 MB / 0.8263 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9379, allocations: 4 kB / 0.8263 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001202/0.9391, allocations: 319.6 kB / 0.8266 GB, free: 3.75 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 74 * 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.007402/0.9465, allocations: 3.231 MB / 0.8298 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004475/0.951, allocations: 1.404 MB / 0.8311 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.9511, allocations: 0 / 0.8311 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.9529, allocations: 0.6443 MB / 0.8318 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/0.9563, allocations: 0.6013 MB / 0.8323 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/0.9801, allocations: 11.75 MB / 0.8438 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009283/0.9811, allocations: 1.175 MB / 0.845 GB, free: 420 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001588/0.9827, allocations: 341.9 kB / 0.8453 GB, free: 76 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008151/0.9835, allocations: 0.4915 MB / 0.8458 GB, free: 15.58 MB / 0.67 GB Notification: Performance of SimCode: time 9.31e-07/0.9835, allocations: 0 / 0.8458 GB, free: 15.58 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3594/1.343, allocations: 33.54 MB / 0.8785 GB, free: 214.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/9.599, allocations: 10.31 kB / 0.8785 GB, free: 214.5 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)