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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8105/0.8105, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000937/0.0009371, allocations: 99.64 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.332e-05, allocations: 8 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4387, allocations: 82.31 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.815/5.254, allocations: 1.836 GB / 2.47 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/5.254, allocations: 85.52 kB / 2.47 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.301/7.555, allocations: 0.678 GB / 3.148 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.573e-06/7.555, allocations: 0 / 3.148 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001097/7.555, allocations: 39.98 kB / 3.148 GB, free: 3.578 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.006907/7.562, allocations: 1.868 MB / 3.15 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/7.562, allocations: 8.031 kB / 3.15 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005266/7.568, allocations: 0.8761 MB / 3.151 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5772/8.145, allocations: 1.137 MB / 3.152 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/8.145, allocations: 30.2 kB / 3.152 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007885/8.146, allocations: 56.33 kB / 3.152 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004096/8.15, allocations: 0.9965 MB / 3.153 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004823/8.155, allocations: 1.169 MB / 3.154 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.718e-05/8.155, allocations: 0.8125 kB / 3.154 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/8.155, allocations: 1.922 kB / 3.154 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/8.155, allocations: 46.41 kB / 3.154 GB, free: 115.7 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.01544/8.171, allocations: 4.82 MB / 3.159 GB, free: 114 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/8.173, allocations: 1.058 MB / 3.16 GB, free: 114 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/8.175, allocations: 0.5709 MB / 3.16 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/8.176, allocations: 0.9431 MB / 3.161 GB, free: 113 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001478/8.178, allocations: 0.688 MB / 3.162 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 5.57e-06/8.178, allocations: 0 / 3.162 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.00457/8.182, allocations: 1.285 MB / 3.163 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/8.182, allocations: 62.47 kB / 3.163 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/8.185, allocations: 0.8204 MB / 3.164 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002415/8.185, allocations: 29.61 kB / 3.164 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008254/8.186, allocations: 0.5478 MB / 3.165 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005514/8.186, allocations: 314.9 kB / 3.165 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/8.186, allocations: 0 / 3.165 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001527/8.187, allocations: 347.9 kB / 3.165 GB, free: 112 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/8.188, allocations: 475.2 kB / 3.166 GB, free: 112 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/8.189, allocations: 0.6878 MB / 3.166 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/8.19, allocations: 0.51 MB / 3.167 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/8.19, allocations: 0 / 3.167 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002637/8.193, allocations: 1.272 MB / 3.168 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/8.193, allocations: 15.77 kB / 3.168 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/8.193, allocations: 7.625 kB / 3.168 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.695e-05/8.193, allocations: 9.156 kB / 3.168 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/8.195, allocations: 352.3 kB / 3.169 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.841e-05/8.195, allocations: 15.19 kB / 3.169 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/8.197, allocations: 214.5 kB / 3.169 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/8.197, allocations: 50.22 kB / 3.169 GB, free: 111.6 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.0003621/8.197, allocations: 149.3 kB / 3.169 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002201/8.2, allocations: 1.17 MB / 3.17 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/8.2, allocations: 114.6 kB / 3.17 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/8.203, allocations: 1.364 MB / 3.172 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/8.203, allocations: 9.469 kB / 3.172 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/8.203, allocations: 0.6562 kB / 3.172 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/8.203, allocations: 4.469 kB / 3.172 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005814/8.209, allocations: 2.898 MB / 3.174 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/8.209, allocations: 3.688 kB / 3.174 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/8.211, allocations: 312.4 kB / 3.175 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.653e-05/8.211, allocations: 7.656 kB / 3.175 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/8.211, allocations: 34.53 kB / 3.175 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.621e-05/8.211, allocations: 14.69 kB / 3.175 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/8.211, allocations: 4.031 kB / 3.175 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/8.215, allocations: 2.397 MB / 3.177 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008443/8.216, allocations: 356.2 kB / 3.177 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004085/8.216, allocations: 8.875 kB / 3.177 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/8.218, allocations: 165.6 kB / 3.178 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/8.218, allocations: 70.86 kB / 3.178 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/8.218, allocations: 50.89 kB / 3.178 GB, free: 110 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001129/8.219, allocations: 0.6202 MB / 3.178 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.1e-07/8.22, allocations: 0 / 3.178 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001988/8.221, allocations: 476 kB / 3.179 GB, free: 109.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.006489/8.228, allocations: 6.085 MB / 3.185 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001933/8.23, allocations: 1.154 MB / 3.186 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/8.23, allocations: 3.906 kB / 3.186 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008609/8.231, allocations: 0.6058 MB / 3.186 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/8.233, allocations: 435.9 kB / 3.187 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/8.249, allocations: 3.285 MB / 3.19 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/8.25, allocations: 1.227 MB / 3.191 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001743/8.252, allocations: 363.7 kB / 3.192 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008273/8.252, allocations: 0.5006 MB / 3.192 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of SimCode: time 7.51e-07/8.252, allocations: 0 / 3.192 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08011/8.333, allocations: 41.98 MB / 3.233 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/8.333, allocations: 159.6 kB / 3.233 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.882/12.21, allocations: 0 / 3.233 GB, free: 104.5 MB / 0.6823 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/linux/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)