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.0009144/0.0009145, 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.006479/0.006479, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.885/0.885, allocations: 135.3 MB / 426.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003104, allocations: 8.875 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 82.3 MB / 0.5881 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4666/0.614, allocations: 189 MB / 0.7726 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008006/0.6221, allocations: 5.137 MB / 0.7776 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.6232, allocations: 39.69 kB / 0.7777 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.6248, allocations: 0.7116 MB / 0.7784 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005172/0.6299, allocations: 2.452 MB / 0.7808 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.6321, allocations: 1.004 MB / 0.7817 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003517/0.6356, allocations: 3.621 MB / 0.7853 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.6369, allocations: 0.8476 MB / 0.7861 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.6385, allocations: 0.992 MB / 0.7871 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.6398, allocations: 1.004 MB / 0.7881 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.6399, allocations: 48 kB / 0.7881 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.6428, allocations: 2.069 MB / 0.7901 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004008/0.6432, allocations: 414.6 kB / 0.7905 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006595/0.6439, allocations: 0.6464 MB / 0.7911 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.6464, allocations: 2.246 MB / 0.7933 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.6464, allocations: 0 / 0.7933 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6464, allocations: 0 / 0.7933 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.814e-05/0.6465, allocations: 4 kB / 0.7933 GB, free: 10.16 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.004291/0.6508, allocations: 1.703 MB / 0.795 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.6508, allocations: 11.97 kB / 0.795 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.651, allocations: 139.6 kB / 0.7952 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005241/0.6562, allocations: 0.9268 MB / 0.7961 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.6574, allocations: 0.9059 MB / 0.7969 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.6575, allocations: 73.98 kB / 0.797 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.6576, allocations: 95.92 kB / 0.7971 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.6609, allocations: 1.571 MB / 0.7986 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.661, allocations: 3.938 kB / 0.7986 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.6611, allocations: 39.98 kB / 0.7987 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/0.6611, allocations: 49.98 kB / 0.7987 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004827/0.666, allocations: 1.838 MB / 0.8005 GB, free: 2.648 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.006342/0.6723, allocations: 4.763 MB / 0.8052 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/0.6765, allocations: 1.595 MB / 0.8067 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/0.6786, allocations: 0.8469 MB / 0.8076 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.6798, allocations: 0.953 MB / 0.8085 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002282/0.682, allocations: 0.9188 MB / 0.8094 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 2.344e-06/0.6821, allocations: 4 kB / 0.8094 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007097/0.6892, allocations: 2.443 MB / 0.8118 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.6892, allocations: 64.41 kB / 0.8118 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.6905, allocations: 1.193 MB / 0.813 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.547e-05/0.6906, allocations: 49.7 kB / 0.8131 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.691, allocations: 0.5409 MB / 0.8136 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.6913, allocations: 327.3 kB / 0.8139 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.6915, allocations: 85.67 kB / 0.814 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6916, allocations: 338 kB / 0.8143 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.6937, allocations: 0.6967 MB / 0.815 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.6959, allocations: 0.9152 MB / 0.8159 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004219/0.7001, allocations: 1.546 MB / 0.8174 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7002, allocations: 0 / 0.8174 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004614/0.7048, allocations: 1.78 MB / 0.8191 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.7048, allocations: 4 kB / 0.8191 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.7048, allocations: 4 kB / 0.8191 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.7048, allocations: 12.44 kB / 0.8191 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.7065, allocations: 339.5 kB / 0.8195 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.7065, allocations: 8 kB / 0.8195 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.7081, allocations: 254.7 kB / 0.8197 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/0.7082, allocations: 51.91 kB / 0.8198 GB, free: 14.33 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.0005496/0.7087, allocations: 339.7 kB / 0.8201 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.7089, allocations: 134.3 kB / 0.8202 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005005/0.7139, allocations: 1.796 MB / 0.822 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.714, allocations: 15.94 kB / 0.822 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.714, allocations: 4 kB / 0.822 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.714, allocations: 7.922 kB / 0.822 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006688/0.7207, allocations: 3.328 MB / 0.8252 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.7207, allocations: 8 kB / 0.8253 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.7222, allocations: 284.1 kB / 0.8255 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.7223, allocations: 8 kB / 0.8255 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/0.7223, allocations: 31.97 kB / 0.8256 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.7224, allocations: 11.94 kB / 0.8256 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7224, allocations: 4 kB / 0.8256 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006815/0.7292, allocations: 2.839 MB / 0.8283 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.7296, allocations: 331.2 kB / 0.8287 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.7298, allocations: 23.94 kB / 0.8287 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.7312, allocations: 179.7 kB / 0.8289 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.7313, allocations: 76.44 kB / 0.8289 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.112e-05/0.7314, allocations: 39.97 kB / 0.829 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000852/0.7323, allocations: 0.8315 MB / 0.8298 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7323, allocations: 0 / 0.8298 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008549/0.7331, allocations: 335.7 kB / 0.8301 GB, free: 3.531 MB / 0.6387 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.00807/0.7412, allocations: 3.826 MB / 0.8338 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004415/0.7456, allocations: 1.619 MB / 0.8354 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.7457, allocations: 4.062 kB / 0.8354 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002201/0.7479, allocations: 0.832 MB / 0.8362 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.7509, allocations: 0.581 MB / 0.8368 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/0.7733, allocations: 13.34 MB / 0.8498 GB, free: 14.89 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.774, allocations: 1.187 MB / 0.851 GB, free: 13.68 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001435/0.7755, allocations: 357.9 kB / 0.8513 GB, free: 13.33 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007163/0.7762, allocations: 0.4953 MB / 0.8518 GB, free: 12.84 MB / 0.67 GB Notification: Performance of SimCode: time 3.41e-07/0.7762, allocations: 0 / 0.8518 GB, free: 12.84 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.21/2.986, allocations: 33.65 MB / 0.8847 GB, free: 211.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/2.987, allocations: 233.3 kB / 0.8849 GB, free: 211.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.276/6.263, allocations: 0 / 0.8849 GB, free: 211.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)