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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7875/0.7875, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009451/0.000945, allocations: 101.6 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.82e-05/5.867e-05, allocations: 3.781 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1734, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.99/5.164, allocations: 1.837 GB / 2.477 GB, free: 59.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/5.164, allocations: 91.31 kB / 2.477 GB, free: 59.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.852/8.016, allocations: 0.6863 GB / 3.164 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.202e-06/8.016, allocations: 0 / 3.164 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000194/8.016, allocations: 56.83 kB / 3.164 GB, free: 117.2 MB / 0.6823 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.007908/8.024, allocations: 1.858 MB / 3.165 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/8.024, allocations: 7.781 kB / 3.165 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005168/8.024, allocations: 138.5 kB / 3.166 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005325/8.03, allocations: 0.8735 MB / 3.166 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004276/8.034, allocations: 1.139 MB / 3.168 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.759e-05/8.034, allocations: 67.81 kB / 3.168 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000348/8.035, allocations: 90.41 kB / 3.168 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/8.037, allocations: 1.287 MB / 3.169 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/8.037, allocations: 0 / 3.169 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/8.037, allocations: 34.39 kB / 3.169 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/8.037, allocations: 42.08 kB / 3.169 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/8.039, allocations: 1.138 MB / 3.17 GB, free: 115.9 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.008482/8.048, allocations: 5.037 MB / 3.175 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/8.049, allocations: 1.113 MB / 3.176 GB, free: 114 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008328/8.05, allocations: 0.6006 MB / 3.177 GB, free: 114 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/8.051, allocations: 0.9457 MB / 3.178 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/8.052, allocations: 0.7079 MB / 3.178 GB, free: 113 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 3.437e-06/8.052, allocations: 0 / 3.178 GB, free: 113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.002935/8.055, allocations: 1.31 MB / 3.18 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/8.055, allocations: 60.03 kB / 3.18 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/8.057, allocations: 1.047 MB / 3.181 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000139/8.057, allocations: 51.42 kB / 3.181 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/8.058, allocations: 0.5467 MB / 3.181 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/8.058, allocations: 328.3 kB / 3.182 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/8.058, allocations: 17.5 kB / 3.182 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.029e-05/8.058, allocations: 343.6 kB / 3.182 GB, free: 112 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/8.059, allocations: 0.4885 MB / 3.182 GB, free: 112 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008987/8.06, allocations: 0.7168 MB / 3.183 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008314/8.061, allocations: 0.5074 MB / 3.184 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/8.061, allocations: 0 / 3.184 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002327/8.063, allocations: 1.352 MB / 3.185 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/8.063, allocations: 7.594 kB / 3.185 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/8.063, allocations: 10.23 kB / 3.185 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/8.063, allocations: 10.88 kB / 3.185 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/8.065, allocations: 349.5 kB / 3.185 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-05/8.065, allocations: 18.91 kB / 3.185 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/8.067, allocations: 259.8 kB / 3.186 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/8.067, allocations: 60.41 kB / 3.186 GB, free: 111.5 MB / 0.6823 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003074/8.067, allocations: 168.3 kB / 3.186 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/8.068, allocations: 129.2 kB / 3.186 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/8.071, allocations: 1.438 MB / 3.187 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/8.071, allocations: 15.7 kB / 3.187 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/8.071, allocations: 4 kB / 3.187 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/8.071, allocations: 7.219 kB / 3.187 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006076/8.077, allocations: 3.064 MB / 3.19 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/8.077, allocations: 3.594 kB / 3.19 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/8.079, allocations: 311.5 kB / 3.191 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.188e-05/8.079, allocations: 10.34 kB / 3.191 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/8.079, allocations: 38.25 kB / 3.191 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/8.079, allocations: 11.62 kB / 3.191 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/8.079, allocations: 6.344 kB / 3.191 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/8.083, allocations: 2.464 MB / 3.193 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/8.084, allocations: 374.3 kB / 3.193 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005009/8.084, allocations: 31.42 kB / 3.193 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/8.086, allocations: 178.8 kB / 3.194 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/8.086, allocations: 69.25 kB / 3.194 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/8.087, allocations: 55.58 kB / 3.194 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001855/8.088, allocations: 0.8155 MB / 3.195 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.01e-07/8.088, allocations: 0 / 3.195 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002746/8.091, allocations: 0.5178 MB / 3.195 GB, free: 107.8 MB / 0.6823 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007333/8.099, allocations: 5.985 MB / 3.201 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00214/8.101, allocations: 1.204 MB / 3.202 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/8.101, allocations: 1.938 kB / 3.202 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009955/8.102, allocations: 0.6332 MB / 3.203 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/8.105, allocations: 0.5722 MB / 3.203 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/8.121, allocations: 3.408 MB / 3.207 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008914/8.122, allocations: 1.226 MB / 3.208 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002122/8.124, allocations: 391.5 kB / 3.208 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/8.125, allocations: 0.5217 MB / 3.209 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.293e-06/8.125, allocations: 0 / 3.209 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/8.226, allocations: 65.04 MB / 3.272 GB, free: 37.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/8.226, allocations: 195.6 kB / 3.272 GB, free: 37.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.499/12.73, allocations: 7.938 kB / 3.272 GB, free: 37.37 MB / 0.6823 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/linux/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)