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.0008682/0.0008682, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007853/0.007853, allocations: 170 kB / 16.26 MB, free: 6.613 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8611/0.8611, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005314/0.0005314, allocations: 8 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1639, allocations: 82.3 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4577/0.6218, allocations: 189 MB / 0.7726 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007961/0.6298, allocations: 5.126 MB / 0.7776 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.631, allocations: 43.69 kB / 0.7777 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.6328, allocations: 0.7155 MB / 0.7784 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005363/0.6381, allocations: 2.448 MB / 0.7808 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.6404, allocations: 1.006 MB / 0.7817 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003512/0.644, allocations: 3.551 MB / 0.7852 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.6452, allocations: 0.7993 MB / 0.786 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.647, allocations: 0.9764 MB / 0.7869 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.6483, allocations: 0.9766 MB / 0.7879 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.6485, allocations: 48 kB / 0.7879 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/0.6516, allocations: 2.065 MB / 0.79 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004626/0.6521, allocations: 398.6 kB / 0.7903 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007456/0.6529, allocations: 0.6309 MB / 0.791 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.6557, allocations: 2.188 MB / 0.7931 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6557, allocations: 3.984 kB / 0.7931 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.043e-06/0.6557, allocations: 8 kB / 0.7931 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.515e-05/0.6557, allocations: 0 / 0.7931 GB, free: 10.27 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.004376/0.6601, allocations: 1.68 MB / 0.7947 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.6602, allocations: 12.03 kB / 0.7948 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001948/0.6604, allocations: 139.5 kB / 0.7949 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003752/0.6641, allocations: 0.7006 MB / 0.7956 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.6654, allocations: 0.8786 MB / 0.7964 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.6655, allocations: 69.98 kB / 0.7965 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.6657, allocations: 88 kB / 0.7966 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.6686, allocations: 1.478 MB / 0.798 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.6686, allocations: 3.938 kB / 0.798 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.6687, allocations: 39.98 kB / 0.7981 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.6688, allocations: 49.98 kB / 0.7981 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003798/0.6726, allocations: 1.545 MB / 0.7996 GB, free: 3.391 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.006443/0.679, allocations: 5.5 MB / 0.805 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/0.6825, allocations: 1.326 MB / 0.8063 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.6842, allocations: 0.6734 MB / 0.807 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008785/0.6851, allocations: 0.5929 MB / 0.8075 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001885/0.687, allocations: 0.7263 MB / 0.8082 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.536e-06/0.687, allocations: 4 kB / 0.8082 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005419/0.6924, allocations: 1.909 MB / 0.8101 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.6925, allocations: 60.06 kB / 0.8102 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.694, allocations: 1.239 MB / 0.8114 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.03e-05/0.6941, allocations: 45.64 kB / 0.8114 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/0.6945, allocations: 0.5792 MB / 0.812 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.6947, allocations: 272.1 kB / 0.8122 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.6949, allocations: 85.61 kB / 0.8123 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.695, allocations: 337.9 kB / 0.8126 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.6965, allocations: 0.5523 MB / 0.8132 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.6983, allocations: 0.833 MB / 0.814 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.7014, allocations: 1.344 MB / 0.8153 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.7015, allocations: 4 kB / 0.8153 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003895/0.7054, allocations: 1.522 MB / 0.8168 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.7054, allocations: 8 kB / 0.8168 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.7054, allocations: 8.703 kB / 0.8168 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.7055, allocations: 12 kB / 0.8168 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.7068, allocations: 300.2 kB / 0.8171 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.951e-05/0.7069, allocations: 15.94 kB / 0.8171 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.7083, allocations: 226.7 kB / 0.8173 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.7084, allocations: 51.97 kB / 0.8174 GB, free: 0.5273 MB / 0.6231 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.0004855/0.7089, allocations: 336.8 kB / 0.8177 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.7091, allocations: 138.3 kB / 0.8178 GB, free: 56 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.7129, allocations: 1.435 MB / 0.8193 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.7129, allocations: 8 kB / 0.8193 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7129, allocations: 4 kB / 0.8193 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.7129, allocations: 3.984 kB / 0.8193 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/0.7183, allocations: 2.824 MB / 0.822 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.7183, allocations: 4 kB / 0.822 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.7195, allocations: 236.1 kB / 0.8223 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.7195, allocations: 4 kB / 0.8223 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.342e-05/0.7196, allocations: 31.97 kB / 0.8223 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/0.7196, allocations: 8 kB / 0.8223 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7196, allocations: 7.938 kB / 0.8223 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.7247, allocations: 2.287 MB / 0.8245 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/0.7252, allocations: 303.2 kB / 0.8248 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.7253, allocations: 23.98 kB / 0.8248 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.7264, allocations: 135.8 kB / 0.825 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.7266, allocations: 64.38 kB / 0.825 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/0.7266, allocations: 35.97 kB / 0.8251 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009223/0.7276, allocations: 0.8561 MB / 0.8259 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7276, allocations: 0 / 0.8259 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008824/0.7285, allocations: 319.6 kB / 0.8262 GB, free: 7.297 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.006426/0.7349, allocations: 3.264 MB / 0.8294 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003331/0.7382, allocations: 1.31 MB / 0.8307 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7383, allocations: 0 / 0.8307 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.7399, allocations: 0.6482 MB / 0.8313 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.7429, allocations: 0.5679 MB / 0.8319 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01938/0.7623, allocations: 12.24 MB / 0.8438 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000681/0.763, allocations: 1.167 MB / 0.845 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001264/0.7643, allocations: 345.9 kB / 0.8453 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/0.765, allocations: 499.2 kB / 0.8458 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.765, allocations: 0 / 0.8458 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.788/3.553, allocations: 32 MB / 0.877 GB, free: 215.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/3.554, allocations: 255.9 kB / 0.8773 GB, free: 215.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/6.558, allocations: 2.391 kB / 0.8773 GB, free: 215.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)