Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_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.001124/0.001124, 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.001157/0.001157, allocations: 193.3 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7434/0.7434, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 65.27 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3392, allocations: 80.19 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1852/0.5244, allocations: 193.8 MB / 0.7695 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008093/0.5326, allocations: 5.149 MB / 0.7745 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007557/0.5333, allocations: 43.69 kB / 0.7745 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.5349, allocations: 0.8158 MB / 0.7753 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.54, allocations: 2.599 MB / 0.7779 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.5423, allocations: 1.104 MB / 0.7789 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002511/0.5448, allocations: 2.676 MB / 0.7816 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.546, allocations: 0.9445 MB / 0.7825 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.5475, allocations: 1.102 MB / 0.7836 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.5486, allocations: 0.9923 MB / 0.7845 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.5487, allocations: 84 kB / 0.7846 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.5516, allocations: 1.793 MB / 0.7864 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003837/0.552, allocations: 446.6 kB / 0.7868 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.5526, allocations: 0.6643 MB / 0.7874 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.5551, allocations: 2.193 MB / 0.7896 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.5551, allocations: 4 kB / 0.7896 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5551, allocations: 0 / 0.7896 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.5551, allocations: 0 / 0.7896 GB, free: 10.41 MB / 0.6231 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.004769/0.5599, allocations: 1.963 MB / 0.7915 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.5599, allocations: 8.031 kB / 0.7915 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.5601, allocations: 139.6 kB / 0.7916 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005584/0.5657, allocations: 0.8955 MB / 0.7925 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.567, allocations: 0.902 MB / 0.7934 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.567, allocations: 77.92 kB / 0.7935 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.5672, allocations: 88 kB / 0.7935 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/0.5708, allocations: 1.575 MB / 0.7951 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.5708, allocations: 3.938 kB / 0.7951 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.5709, allocations: 36 kB / 0.7951 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.076e-05/0.571, allocations: 53.97 kB / 0.7952 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005229/0.5762, allocations: 1.846 MB / 0.797 GB, free: 2.676 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.006838/0.5831, allocations: 4.753 MB / 0.8016 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004517/0.5876, allocations: 1.567 MB / 0.8031 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.5899, allocations: 0.8546 MB / 0.804 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.5911, allocations: 0.9452 MB / 0.8049 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002505/0.5937, allocations: 0.9187 MB / 0.8058 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 5.31e-06/0.5937, allocations: 0 / 0.8058 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.007812/0.6015, allocations: 2.454 MB / 0.8082 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.6016, allocations: 64.41 kB / 0.8083 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.6029, allocations: 1.197 MB / 0.8094 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.603, allocations: 49.7 kB / 0.8095 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.6035, allocations: 0.5408 MB / 0.81 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.6037, allocations: 327.4 kB / 0.8103 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003326/0.6041, allocations: 186.5 kB / 0.8105 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6042, allocations: 345.9 kB / 0.8108 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.6064, allocations: 0.7044 MB / 0.8115 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.6088, allocations: 0.8996 MB / 0.8124 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004459/0.6133, allocations: 1.562 MB / 0.8139 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.6133, allocations: 3.938 kB / 0.8139 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.2388/0.8521, allocations: 1.771 MB / 0.8156 GB, free: 220 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.8522, allocations: 9.125 kB / 0.8157 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.8522, allocations: 4.531 kB / 0.8157 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.8522, allocations: 8.625 kB / 0.8157 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.8541, allocations: 344.5 kB / 0.816 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.8541, allocations: 10.77 kB / 0.816 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.8558, allocations: 237.9 kB / 0.8162 GB, free: 220 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.8559, allocations: 44.97 kB / 0.8163 GB, free: 220 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.0005099/0.8564, allocations: 340 kB / 0.8166 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.8566, allocations: 136.8 kB / 0.8167 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005319/0.8619, allocations: 1.796 MB / 0.8185 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.862, allocations: 10.59 kB / 0.8185 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.862, allocations: 1.094 kB / 0.8185 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.862, allocations: 4.828 kB / 0.8185 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.8722, allocations: 3.334 MB / 0.8218 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.8722, allocations: 5.328 kB / 0.8218 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/0.8741, allocations: 294.9 kB / 0.822 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/0.8741, allocations: 6.719 kB / 0.8221 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.8742, allocations: 33.55 kB / 0.8221 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.8742, allocations: 13.45 kB / 0.8221 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.8742, allocations: 8.312 kB / 0.8221 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/0.8861, allocations: 2.839 MB / 0.8249 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007934/0.8869, allocations: 324 kB / 0.8252 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/0.8873, allocations: 25.12 kB / 0.8252 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/0.8896, allocations: 154.2 kB / 0.8254 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.8898, allocations: 74.09 kB / 0.8254 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.8899, allocations: 44.44 kB / 0.8255 GB, free: 217 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001506/0.8914, allocations: 0.8303 MB / 0.8263 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8914, allocations: 0 / 0.8263 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001385/0.8928, allocations: 345.7 kB / 0.8266 GB, free: 216.6 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.008453/0.9013, allocations: 3.826 MB / 0.8303 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005325/0.9066, allocations: 1.779 MB / 0.8321 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.9067, allocations: 9.875 kB / 0.8321 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002319/0.909, allocations: 0.8258 MB / 0.8329 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.9116, allocations: 0.6196 MB / 0.8335 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/0.9326, allocations: 12.87 MB / 0.8461 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.9331, allocations: 1.189 MB / 0.8472 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001484/0.9346, allocations: 369.9 kB / 0.8476 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/0.9352, allocations: 0.4993 MB / 0.8481 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.9352, allocations: 0 / 0.8481 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2318/1.167, allocations: 35.29 MB / 0.8825 GB, free: 169.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.913/11.08, allocations: 18.23 kB / 0.8826 GB, free: 169 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)