Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 172.9 kB / 7.646 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 1.069/1.069, allocations: 133.6 MB / 141.6 MB, free: 2.879 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.803/1.803, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.001044/0.001044, allocations: 94.5 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.75e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5136/0.5136, allocations: 82.31 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.773/5.287, allocations: 1.836 GB / 2.47 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/5.287, allocations: 90.25 kB / 2.47 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.148/9.435, allocations: 1.007 GB / 3.477 GB, free: 126.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.973e-06/9.435, allocations: 0 / 3.477 GB, free: 126.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002087/9.436, allocations: 43.95 kB / 3.477 GB, free: 126.3 MB / 0.698 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.008651/9.444, allocations: 1.833 MB / 3.478 GB, free: 125.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/9.444, allocations: 9.656 kB / 3.478 GB, free: 125.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004689/9.449, allocations: 0.6931 MB / 3.479 GB, free: 125.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/9.454, allocations: 1.055 MB / 3.48 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/9.454, allocations: 25.44 kB / 3.48 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/9.454, allocations: 48.41 kB / 3.48 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00215/9.456, allocations: 0.8326 MB / 3.481 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/9.459, allocations: 1.154 MB / 3.482 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/9.459, allocations: 7.562 kB / 3.482 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/9.459, allocations: 3.906 kB / 3.482 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/9.459, allocations: 41.52 kB / 3.482 GB, free: 125 MB / 0.698 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.009368/9.468, allocations: 5.565 MB / 3.488 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/9.47, allocations: 0.8951 MB / 3.489 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/9.47, allocations: 479.6 kB / 3.489 GB, free: 122 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008598/9.471, allocations: 0.589 MB / 3.49 GB, free: 121.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008505/9.472, allocations: 0.57 MB / 3.49 GB, free: 121.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 5.51e-06/9.472, allocations: 7.312 kB / 3.49 GB, free: 121.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.002567/9.475, allocations: 1.067 MB / 3.491 GB, free: 121.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/9.475, allocations: 62.81 kB / 3.491 GB, free: 121.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/9.476, allocations: 0.8514 MB / 3.492 GB, free: 121.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/9.477, allocations: 32.23 kB / 3.492 GB, free: 121.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006916/9.477, allocations: 0.5952 MB / 3.493 GB, free: 120.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/9.478, allocations: 264.2 kB / 3.493 GB, free: 120.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/9.478, allocations: 0 / 3.493 GB, free: 120.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001064/9.478, allocations: 346.3 kB / 3.493 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/9.479, allocations: 400 kB / 3.494 GB, free: 120.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009297/9.48, allocations: 0.6989 MB / 3.494 GB, free: 120.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008701/9.48, allocations: 464.8 kB / 3.495 GB, free: 120.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/9.48, allocations: 2.875 kB / 3.495 GB, free: 120.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002377/9.483, allocations: 1.149 MB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/9.483, allocations: 9.25 kB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/9.483, allocations: 11.25 kB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.699e-05/9.483, allocations: 14.25 kB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/9.485, allocations: 316.7 kB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.511e-05/9.485, allocations: 16.48 kB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/9.486, allocations: 194.3 kB / 3.496 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/9.487, allocations: 63.89 kB / 3.497 GB, free: 119.9 MB / 0.698 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 ($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 (117): * Single equations (assignments): 117 * 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.0003289/9.487, allocations: 136.6 kB / 3.497 GB, free: 119.8 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002/9.489, allocations: 1.004 MB / 3.498 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/9.489, allocations: 119.2 kB / 3.498 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/9.492, allocations: 1.157 MB / 3.499 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/9.492, allocations: 9.938 kB / 3.499 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/9.492, allocations: 2.938 kB / 3.499 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/9.492, allocations: 3.562 kB / 3.499 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005434/9.497, allocations: 2.584 MB / 3.501 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/9.497, allocations: 3.906 kB / 3.501 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/9.499, allocations: 249.6 kB / 3.502 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.002e-05/9.499, allocations: 6.5 kB / 3.502 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/9.499, allocations: 28.47 kB / 3.502 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/9.499, allocations: 13.11 kB / 3.502 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/9.499, allocations: 6.625 kB / 3.502 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/9.502, allocations: 2.082 MB / 3.504 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007648/9.503, allocations: 323.9 kB / 3.504 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003234/9.503, allocations: 15.88 kB / 3.504 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/9.504, allocations: 142.8 kB / 3.504 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/9.505, allocations: 61 kB / 3.504 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-05/9.505, allocations: 41.3 kB / 3.504 GB, free: 118.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001014/9.506, allocations: 0.6407 MB / 3.505 GB, free: 118.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/9.506, allocations: 0 / 3.505 GB, free: 118.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001996/9.508, allocations: 458.2 kB / 3.505 GB, free: 118.2 MB / 0.698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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.007025/9.515, allocations: 5.774 MB / 3.511 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001889/9.517, allocations: 0.9974 MB / 3.512 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/9.517, allocations: 0 / 3.512 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009051/9.518, allocations: 0.5127 MB / 3.512 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/9.52, allocations: 409.8 kB / 3.513 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/9.537, allocations: 2.938 MB / 3.516 GB, free: 114.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/9.538, allocations: 1.212 MB / 3.517 GB, free: 114.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001879/9.54, allocations: 345 kB / 3.517 GB, free: 114.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009735/9.541, allocations: 0.49 MB / 3.518 GB, free: 114.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.382e-06/9.541, allocations: 2.156 kB / 3.518 GB, free: 114.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08864/9.63, allocations: 40.43 MB / 3.557 GB, free: 112.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/9.63, allocations: 173.9 kB / 3.557 GB, free: 112 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.57/13.2, allocations: 3.938 kB / 3.557 GB, free: 112 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)