Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.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.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_MixingVolumeMoistAirFlexible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_MixingVolumeMoistAirFlexible",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.869/0.869, allocations: 141.8 MB / 149.3 MB, free: 9.148 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.001049/0.001049, allocations: 188.8 kB / 182.2 MB, free: 9.379 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.303/1.303, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0008453/0.0008453, allocations: 101.5 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 283.8 kB / 0.5889 GB, free: 54.61 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.489e-05/1.492e-05, allocations: 0 / 0.6766 GB, free: 12.69 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3602, allocations: 82.78 MB / 0.7575 GB, free: 31.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.853/4.213, allocations: 1.881 GB / 2.639 GB, free: 137.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/4.213, allocations: 90.06 kB / 2.639 GB, free: 137 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9316/5.145, allocations: 325.1 MB / 2.956 GB, free: 98.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/5.145, allocations: 4 kB / 2.956 GB, free: 98.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.81e-05/5.145, allocations: 27.86 kB / 2.956 GB, free: 98.17 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001419/5.146, allocations: 0.8103 MB / 2.957 GB, free: 97.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/5.146, allocations: 12.03 kB / 2.957 GB, free: 97.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/5.148, allocations: 171.1 kB / 2.957 GB, free: 97.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008071/5.148, allocations: 0.5201 MB / 2.958 GB, free: 96.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/5.148, allocations: 12 kB / 2.958 GB, free: 96.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/5.149, allocations: 24 kB / 2.958 GB, free: 96.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004625/5.149, allocations: 265.4 kB / 2.958 GB, free: 96.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/5.149, allocations: 310.1 kB / 2.958 GB, free: 95.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/5.15, allocations: 0 / 2.958 GB, free: 95.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/5.15, allocations: 0 / 2.958 GB, free: 95.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/5.15, allocations: 12.78 kB / 2.958 GB, free: 95.95 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.001695/5.151, allocations: 1.54 MB / 2.96 GB, free: 94.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/5.152, allocations: 234.9 kB / 2.96 GB, free: 94.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/5.152, allocations: 121.4 kB / 2.96 GB, free: 93.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/5.152, allocations: 97.09 kB / 2.96 GB, free: 93.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/5.152, allocations: 42.52 kB / 2.96 GB, free: 93.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.332e-06/5.152, allocations: 0 / 2.96 GB, free: 93.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.000566/5.153, allocations: 271.2 kB / 2.961 GB, free: 93.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/5.153, allocations: 55.41 kB / 2.961 GB, free: 93.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/5.153, allocations: 317.3 kB / 2.961 GB, free: 93.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/5.153, allocations: 25.7 kB / 2.961 GB, free: 93.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/5.153, allocations: 272.1 kB / 2.961 GB, free: 92.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/5.153, allocations: 78.67 kB / 2.961 GB, free: 92.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/5.153, allocations: 0 / 2.961 GB, free: 92.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.785e-05/5.153, allocations: 358.8 kB / 2.962 GB, free: 92.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/5.153, allocations: 84.55 kB / 2.962 GB, free: 92.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/5.154, allocations: 171.3 kB / 2.962 GB, free: 92.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/5.154, allocations: 117 kB / 2.962 GB, free: 91.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/5.154, allocations: 0 / 2.962 GB, free: 91.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003712/5.154, allocations: 303.8 kB / 2.962 GB, free: 91.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/5.154, allocations: 0.7047 MB / 2.963 GB, free: 90.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/5.154, allocations: 0 / 2.963 GB, free: 90.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/5.154, allocations: 4 kB / 2.963 GB, free: 90.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/5.155, allocations: 67.91 kB / 2.963 GB, free: 90.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/5.155, allocations: 7.938 kB / 2.963 GB, free: 90.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/5.155, allocations: 39.75 kB / 2.963 GB, free: 90.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/5.155, allocations: 8.062 kB / 2.963 GB, free: 90.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/5.155, allocations: 8 kB / 2.963 GB, free: 90.76 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002986/5.155, allocations: 231.8 kB / 2.963 GB, free: 90.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/5.155, allocations: 0 / 2.963 GB, free: 90.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-06/5.155, allocations: 7.938 kB / 2.963 GB, free: 90.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/5.156, allocations: 63.86 kB / 2.963 GB, free: 90.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/5.156, allocations: 4 kB / 2.963 GB, free: 90.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/5.156, allocations: 39.94 kB / 2.963 GB, free: 90.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/5.156, allocations: 12 kB / 2.963 GB, free: 90.41 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 8.054e-05/5.156, allocations: 108.9 kB / 2.963 GB, free: 90.29 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003101/5.156, allocations: 253.2 kB / 2.964 GB, free: 90.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/5.157, allocations: 51.38 kB / 2.964 GB, free: 89.99 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/5.157, allocations: 269 kB / 2.964 GB, free: 89.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/5.157, allocations: 0 / 2.964 GB, free: 89.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/5.157, allocations: 4 kB / 2.964 GB, free: 89.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002976/5.157, allocations: 462.6 kB / 2.964 GB, free: 89.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008712/5.158, allocations: 0.8217 MB / 2.965 GB, free: 88.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/5.158, allocations: 4.031 kB / 2.965 GB, free: 88.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/5.159, allocations: 75.89 kB / 2.965 GB, free: 88.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/5.159, allocations: 0 / 2.965 GB, free: 88.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/5.159, allocations: 4 kB / 2.965 GB, free: 88.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/5.159, allocations: 4 kB / 2.965 GB, free: 88.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/5.159, allocations: 0 / 2.965 GB, free: 88.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/5.159, allocations: 0.5625 MB / 2.966 GB, free: 87.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/5.159, allocations: 144.6 kB / 2.966 GB, free: 87.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/5.159, allocations: 4 kB / 2.966 GB, free: 87.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/5.16, allocations: 31.83 kB / 2.966 GB, free: 87.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/5.16, allocations: 15.92 kB / 2.966 GB, free: 87.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/5.16, allocations: 15.98 kB / 2.966 GB, free: 87.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001806/5.16, allocations: 251 kB / 2.966 GB, free: 87.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/5.16, allocations: 0 / 2.966 GB, free: 87.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007998/5.161, allocations: 323.3 kB / 2.967 GB, free: 86.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.001907/5.163, allocations: 2.435 MB / 2.969 GB, free: 84.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004474/5.163, allocations: 369.9 kB / 2.969 GB, free: 83.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/5.163, allocations: 4 kB / 2.969 GB, free: 83.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/5.163, allocations: 107.8 kB / 2.969 GB, free: 83.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/5.165, allocations: 270.5 kB / 2.97 GB, free: 83.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/5.166, allocations: 0.8797 MB / 2.971 GB, free: 82.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/5.166, allocations: 0.8824 MB / 2.971 GB, free: 81.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005533/5.167, allocations: 156.1 kB / 2.972 GB, free: 81.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/5.167, allocations: 159.4 kB / 2.972 GB, free: 81.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/5.167, allocations: 0 / 2.972 GB, free: 81.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/5.203, allocations: 20.02 MB / 2.991 GB, free: 61.52 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/5.203, allocations: 203.6 kB / 2.992 GB, free: 61.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/8.102, allocations: 1.406 kB / 2.992 GB, free: 61.25 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_MixingVolumeMoistAirFlexible_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_MixingVolumeMoistAirFlexible.fmu > BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe 2>&1)