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.7276/0.7276, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 183.5 kB / 187.3 MB, free: 11.88 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.321/1.321, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0008999/0.0008999, allocations: 96.95 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 275.5 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.13e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3523, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.636/3.988, allocations: 1.882 GB / 2.646 GB, free: 165.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/3.988, allocations: 87.94 kB / 2.646 GB, free: 165.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.002/4.99, allocations: 328.8 MB / 2.967 GB, free: 109.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.393e-06/4.99, allocations: 0 / 2.967 GB, free: 109.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.08e-05/4.99, allocations: 12 kB / 2.967 GB, free: 109.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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001128/4.991, allocations: 0.8223 MB / 2.968 GB, free: 108.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/4.991, allocations: 8.031 kB / 2.968 GB, free: 108.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.776e-05/4.991, allocations: 74.53 kB / 2.968 GB, free: 108.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/4.992, allocations: 175.1 kB / 2.968 GB, free: 108.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007492/4.993, allocations: 0.5142 MB / 2.969 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/4.993, allocations: 32.78 kB / 2.969 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/4.993, allocations: 36 kB / 2.969 GB, free: 108 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/4.994, allocations: 363.6 kB / 2.969 GB, free: 107.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/4.994, allocations: 4 kB / 2.969 GB, free: 107.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/4.994, allocations: 19.94 kB / 2.969 GB, free: 107.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/4.994, allocations: 16.72 kB / 2.969 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/4.994, allocations: 287 kB / 2.97 GB, free: 107.4 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.001526/4.996, allocations: 1.611 MB / 2.971 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/4.996, allocations: 243.8 kB / 2.971 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/4.996, allocations: 124.8 kB / 2.972 GB, free: 105.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/4.996, allocations: 93.53 kB / 2.972 GB, free: 105.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/4.996, allocations: 38.56 kB / 2.972 GB, free: 105.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/4.996, allocations: 0 / 2.972 GB, free: 105.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0005253/4.997, allocations: 296 kB / 2.972 GB, free: 104.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/4.997, allocations: 59.34 kB / 2.972 GB, free: 104.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/4.997, allocations: 363.1 kB / 2.972 GB, free: 104.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/4.997, allocations: 33.7 kB / 2.972 GB, free: 104.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/4.997, allocations: 264 kB / 2.973 GB, free: 104 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/4.997, allocations: 94.64 kB / 2.973 GB, free: 103.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/4.997, allocations: 4 kB / 2.973 GB, free: 103.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.117e-05/4.997, allocations: 354.8 kB / 2.973 GB, free: 103.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/4.998, allocations: 88.53 kB / 2.973 GB, free: 103.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/4.998, allocations: 175.6 kB / 2.973 GB, free: 103.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/4.998, allocations: 121 kB / 2.973 GB, free: 103.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/4.998, allocations: 0 / 2.973 GB, free: 103.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003852/4.998, allocations: 338.9 kB / 2.974 GB, free: 102.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/4.998, allocations: 0.7005 MB / 2.974 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/4.998, allocations: 4 kB / 2.974 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/4.998, allocations: 7.938 kB / 2.974 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/4.999, allocations: 59.92 kB / 2.974 GB, free: 102 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/4.999, allocations: 8.047 kB / 2.974 GB, free: 102 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/4.999, allocations: 43.67 kB / 2.975 GB, free: 102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/4.999, allocations: 20 kB / 2.975 GB, free: 101.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.152e-06/4.999, allocations: 4 kB / 2.975 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003244/5, allocations: 259.7 kB / 2.975 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/5, allocations: 7.953 kB / 2.975 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/5, allocations: 0 / 2.975 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/5, allocations: 63.91 kB / 2.975 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/5, allocations: 4 kB / 2.975 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/5, allocations: 43.95 kB / 2.975 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/5, allocations: 11.98 kB / 2.975 GB, free: 101.6 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 6.777e-05/5, allocations: 129.5 kB / 2.975 GB, free: 101.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/5, allocations: 43.44 kB / 2.975 GB, free: 101.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/5.001, allocations: 305 kB / 2.975 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/5.001, allocations: 4 kB / 2.975 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/5.001, allocations: 0 / 2.975 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002955/5.001, allocations: 482.6 kB / 2.976 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009571/5.002, allocations: 0.8882 MB / 2.977 GB, free: 99.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/5.002, allocations: 8.125 kB / 2.977 GB, free: 99.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/5.002, allocations: 71.89 kB / 2.977 GB, free: 99.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/5.002, allocations: 4 kB / 2.977 GB, free: 99.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/5.002, allocations: 8 kB / 2.977 GB, free: 99.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/5.002, allocations: 0 / 2.977 GB, free: 99.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/5.002, allocations: 11.92 kB / 2.977 GB, free: 99.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/5.003, allocations: 0.5784 MB / 2.977 GB, free: 98.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/5.003, allocations: 148.6 kB / 2.978 GB, free: 98.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/5.003, allocations: 11.98 kB / 2.978 GB, free: 98.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/5.003, allocations: 31.78 kB / 2.978 GB, free: 98.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/5.004, allocations: 19.92 kB / 2.978 GB, free: 98.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/5.004, allocations: 11.98 kB / 2.978 GB, free: 98.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002461/5.004, allocations: 293.2 kB / 2.978 GB, free: 98.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.71e-07/5.004, allocations: 4 kB / 2.978 GB, free: 98.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008688/5.005, allocations: 355.4 kB / 2.978 GB, free: 97.97 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.001688/5.006, allocations: 2.314 MB / 2.98 GB, free: 95.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004827/5.007, allocations: 382.2 kB / 2.981 GB, free: 95.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/5.007, allocations: 0.875 kB / 2.981 GB, free: 95.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/5.007, allocations: 120 kB / 2.981 GB, free: 95.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/5.008, allocations: 295.4 kB / 2.981 GB, free: 94.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/5.01, allocations: 0.9088 MB / 2.982 GB, free: 93.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/5.01, allocations: 0.8828 MB / 2.983 GB, free: 92.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005419/5.01, allocations: 168.2 kB / 2.983 GB, free: 92.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/5.011, allocations: 155.4 kB / 2.983 GB, free: 92.64 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/5.011, allocations: 0 / 2.983 GB, free: 92.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03996/5.051, allocations: 31.95 MB / 3.014 GB, free: 60.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001274/5.051, allocations: 230 kB / 3.015 GB, free: 60.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/8.011, allocations: 1.25 kB / 3.015 GB, free: 60.62 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)