Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.00118/0.00118, allocations: 174.6 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.7625/0.7625, 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.555/1.555, allocations: 221.3 MB / 400.4 MB, free: 5.773 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.0009849/0.0009849, allocations: 85.64 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.607e-05/4.636e-05, allocations: 7.141 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.183, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.188/6.371, allocations: 1.934 GB / 2.574 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/6.371, allocations: 88.36 kB / 2.574 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.576/8.947, allocations: 0.6277 GB / 3.202 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.313e-06/8.947, allocations: 0 / 3.202 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002278/8.947, allocations: 42.14 kB / 3.202 GB, free: 119.6 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004676/8.952, allocations: 1.577 MB / 3.203 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/8.952, allocations: 10.34 kB / 3.203 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000474/8.952, allocations: 153.9 kB / 3.204 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/8.955, allocations: 367.1 kB / 3.204 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003485/8.958, allocations: 1.215 MB / 3.205 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/8.958, allocations: 82.91 kB / 3.205 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/8.959, allocations: 111.5 kB / 3.205 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/8.961, allocations: 1.074 MB / 3.206 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/8.961, allocations: 2.719 kB / 3.206 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/8.961, allocations: 46.59 kB / 3.206 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/8.961, allocations: 36.66 kB / 3.206 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/8.962, allocations: 0.762 MB / 3.207 GB, free: 118.3 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.007548/8.97, allocations: 5.139 MB / 3.212 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/8.971, allocations: 0.6652 MB / 3.213 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/8.972, allocations: 325 kB / 3.213 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006218/8.973, allocations: 317.5 kB / 3.213 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/8.973, allocations: 38.44 kB / 3.213 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 5.471e-06/8.973, allocations: 0 / 3.213 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001994/8.975, allocations: 0.6904 MB / 3.214 GB, free: 115 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/8.975, allocations: 167.3 kB / 3.214 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/8.976, allocations: 0.755 MB / 3.215 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/8.976, allocations: 44.11 kB / 3.215 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/8.977, allocations: 0.5578 MB / 3.216 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/8.977, allocations: 241.2 kB / 3.216 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/8.977, allocations: 14.53 kB / 3.216 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/8.977, allocations: 339 kB / 3.216 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/8.977, allocations: 239.1 kB / 3.216 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/8.978, allocations: 476.9 kB / 3.217 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/8.979, allocations: 313.9 kB / 3.217 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/8.979, allocations: 0 / 3.217 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001309/8.98, allocations: 0.8117 MB / 3.218 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003691/8.98, allocations: 1.663 MB / 3.22 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/8.98, allocations: 10.83 kB / 3.22 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/8.98, allocations: 6.094 kB / 3.22 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/8.982, allocations: 267.8 kB / 3.22 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/8.983, allocations: 1.417 MB / 3.221 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/8.984, allocations: 127.6 kB / 3.221 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.983e-05/8.984, allocations: 30.86 kB / 3.221 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/8.984, allocations: 4.375 kB / 3.221 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001071/8.985, allocations: 0.6864 MB / 3.222 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/8.985, allocations: 5.125 kB / 3.222 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/8.985, allocations: 7.781 kB / 3.222 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/8.987, allocations: 253.6 kB / 3.222 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/8.988, allocations: 1.411 MB / 3.224 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/8.989, allocations: 122.9 kB / 3.224 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/8.989, allocations: 39.11 kB / 3.224 GB, free: 109 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: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002346/8.989, allocations: 152 kB / 3.224 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/8.99, allocations: 114.4 kB / 3.224 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/8.991, allocations: 0.7814 MB / 3.225 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/8.991, allocations: 6.875 kB / 3.225 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/8.991, allocations: 3.953 kB / 3.225 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/8.993, allocations: 0.7036 MB / 3.226 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/8.996, allocations: 1.963 MB / 3.227 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/8.996, allocations: 3.75 kB / 3.227 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007203/8.997, allocations: 157.2 kB / 3.228 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004074/8.997, allocations: 51.08 kB / 3.228 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/8.997, allocations: 18.06 kB / 3.228 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/8.999, allocations: 1.376 MB / 3.229 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/8.999, allocations: 6.359 kB / 3.229 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/9.001, allocations: 1.336 MB / 3.23 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/9.001, allocations: 268.7 kB / 3.231 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/9.001, allocations: 21.42 kB / 3.231 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008424/9.002, allocations: 71.84 kB / 3.231 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/9.002, allocations: 58.34 kB / 3.231 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.035e-05/9.002, allocations: 20.84 kB / 3.231 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00083/9.003, allocations: 0.5869 MB / 3.231 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/9.003, allocations: 0 / 3.231 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002515/9.006, allocations: 0.7195 MB / 3.232 GB, free: 105.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005141/9.011, allocations: 4.034 MB / 3.236 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00282/9.014, allocations: 1.144 MB / 3.237 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/9.014, allocations: 0 / 3.237 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007189/9.015, allocations: 441.4 kB / 3.238 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/9.017, allocations: 0.4991 MB / 3.238 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/9.022, allocations: 1.97 MB / 3.24 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/9.023, allocations: 1.165 MB / 3.241 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001621/9.025, allocations: 359.1 kB / 3.241 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007051/9.025, allocations: 449.8 kB / 3.242 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/9.025, allocations: 0 / 3.242 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/9.128, allocations: 60.32 MB / 3.301 GB, free: 45.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/9.128, allocations: 217.5 kB / 3.301 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.185/13.31, allocations: 3.938 kB / 3.301 GB, free: 45.38 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)