Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8835/0.8835, allocations: 143.4 MB / 158.3 MB, free: 5.762 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 180 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.743/1.743, allocations: 223.2 MB / 447.7 MB, free: 4.723 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.001032/0.001032, allocations: 96.25 kB / 0.5187 GB, free: 1.082 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002108, allocations: 272.4 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004558, allocations: 12.78 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2198, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.808/5.028, allocations: 1.931 GB / 2.705 GB, free: 44.21 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/5.028, allocations: 95.33 kB / 2.705 GB, free: 44.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.533/7.561, allocations: 0.6282 GB / 3.333 GB, free: 111.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/7.561, allocations: 0 / 3.333 GB, free: 111.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001849/7.561, allocations: 40.61 kB / 3.333 GB, free: 111.8 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.005052/7.566, allocations: 1.769 MB / 3.335 GB, free: 111.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/7.567, allocations: 7.188 kB / 3.335 GB, free: 111.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005407/7.567, allocations: 164.5 kB / 3.335 GB, free: 111 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002782/7.57, allocations: 371.8 kB / 3.335 GB, free: 110.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/7.574, allocations: 1.217 MB / 3.336 GB, free: 110.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.773e-05/7.574, allocations: 73.72 kB / 3.337 GB, free: 110.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003589/7.574, allocations: 107.4 kB / 3.337 GB, free: 110.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/7.577, allocations: 1.118 MB / 3.338 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/7.577, allocations: 9.109 kB / 3.338 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/7.577, allocations: 47.5 kB / 3.338 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/7.577, allocations: 38.66 kB / 3.338 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/7.579, allocations: 0.8341 MB / 3.339 GB, free: 110.4 MB / 0.698 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.006726/7.585, allocations: 5.122 MB / 3.344 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/7.586, allocations: 0.7533 MB / 3.344 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005372/7.587, allocations: 315.2 kB / 3.345 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/7.587, allocations: 40.12 kB / 3.345 GB, free: 107.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.765e-06/7.587, allocations: 0 / 3.345 GB, free: 107.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002179/7.589, allocations: 1.011 MB / 3.346 GB, free: 107.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/7.589, allocations: 163.5 kB / 3.346 GB, free: 107 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/7.591, allocations: 0.7548 MB / 3.347 GB, free: 106.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/7.591, allocations: 47.08 kB / 3.347 GB, free: 106.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/7.591, allocations: 0.5488 MB / 3.347 GB, free: 106.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/7.591, allocations: 249.4 kB / 3.347 GB, free: 106.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/7.591, allocations: 15.59 kB / 3.347 GB, free: 106.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/7.591, allocations: 334.3 kB / 3.348 GB, free: 106.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/7.592, allocations: 270.2 kB / 3.348 GB, free: 106.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/7.593, allocations: 0.4987 MB / 3.348 GB, free: 106 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/7.593, allocations: 341.5 kB / 3.349 GB, free: 106 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/7.593, allocations: 5.031 kB / 3.349 GB, free: 106 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001498/7.595, allocations: 0.8685 MB / 3.35 GB, free: 105.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003549/7.595, allocations: 1.67 MB / 3.351 GB, free: 104.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/7.595, allocations: 7.906 kB / 3.351 GB, free: 104.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/7.595, allocations: 7.812 kB / 3.351 GB, free: 104.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/7.597, allocations: 254.7 kB / 3.352 GB, free: 104.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/7.598, allocations: 1.422 MB / 3.353 GB, free: 102.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/7.599, allocations: 126.4 kB / 3.353 GB, free: 102.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-05/7.599, allocations: 37.11 kB / 3.353 GB, free: 102.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/7.599, allocations: 7.219 kB / 3.353 GB, free: 102.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001203/7.6, allocations: 0.7436 MB / 3.354 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/7.6, allocations: 3.75 kB / 3.354 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/7.6, allocations: 7.812 kB / 3.354 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/7.602, allocations: 252 kB / 3.354 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009943/7.603, allocations: 1.422 MB / 3.355 GB, free: 101.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/7.604, allocations: 120.7 kB / 3.356 GB, free: 101.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.839e-05/7.604, allocations: 38.88 kB / 3.356 GB, free: 101.4 MB / 0.698 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 () * Number of clocked 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.0006791/7.605, allocations: 367.6 kB / 3.356 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/7.605, allocations: 116.7 kB / 3.356 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/7.607, allocations: 0.8387 MB / 3.357 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/7.607, allocations: 7.75 kB / 3.357 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/7.607, allocations: 0 / 3.357 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001248/7.608, allocations: 0.7531 MB / 3.358 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/7.612, allocations: 2.016 MB / 3.36 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/7.612, allocations: 7.516 kB / 3.36 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007489/7.612, allocations: 153.7 kB / 3.36 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/7.613, allocations: 44.34 kB / 3.36 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/7.613, allocations: 22.58 kB / 3.36 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/7.614, allocations: 1.385 MB / 3.361 GB, free: 99.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/7.614, allocations: 3.938 kB / 3.361 GB, free: 99.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/7.616, allocations: 1.433 MB / 3.363 GB, free: 98.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006265/7.617, allocations: 267.4 kB / 3.363 GB, free: 98.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/7.617, allocations: 17.38 kB / 3.363 GB, free: 98.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009052/7.618, allocations: 72.78 kB / 3.363 GB, free: 98.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/7.618, allocations: 51.86 kB / 3.363 GB, free: 98.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/7.618, allocations: 26.16 kB / 3.363 GB, free: 98.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008957/7.619, allocations: 0.592 MB / 3.364 GB, free: 98.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.619, allocations: 1.594 kB / 3.364 GB, free: 98.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002657/7.622, allocations: 0.7236 MB / 3.364 GB, free: 98.48 MB / 0.698 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 () * Number of clocked 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.005231/7.627, allocations: 4.122 MB / 3.368 GB, free: 96.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003407/7.631, allocations: 1.197 MB / 3.369 GB, free: 96.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/7.631, allocations: 3.438 kB / 3.369 GB, free: 96.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009293/7.632, allocations: 472.2 kB / 3.37 GB, free: 96.53 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/7.634, allocations: 499.2 kB / 3.37 GB, free: 96.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/7.646, allocations: 9.404 MB / 3.38 GB, free: 91.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007365/7.647, allocations: 1.166 MB / 3.381 GB, free: 90.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001309/7.648, allocations: 276.7 kB / 3.381 GB, free: 90.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/7.649, allocations: 465.4 kB / 3.381 GB, free: 90.64 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/7.649, allocations: 0 / 3.381 GB, free: 90.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08873/7.737, allocations: 54.12 MB / 3.434 GB, free: 84.16 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/7.738, allocations: 265 kB / 3.435 GB, free: 83.81 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.94/11.68, allocations: 7.438 kB / 3.435 GB, free: 83.8 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)