Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.476/1.476, allocations: 288.4 MB / 303.6 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 187.1 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.4 MB / 0.631 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006976/0.0006977, allocations: 104.6 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 11.56 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1786, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.495/0.6736, allocations: 135.2 MB / 1.112 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005589/0.6793, allocations: 6.522 MB / 1.119 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.6793, allocations: 1.031 kB / 1.119 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.6796, allocations: 58.33 kB / 1.119 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.6798, allocations: 120.6 kB / 1.119 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.6817, allocations: 0.885 MB / 1.12 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.682, allocations: 407.5 kB / 1.12 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.6821, allocations: 13.2 kB / 1.12 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.6824, allocations: 164.4 kB / 1.12 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.6826, allocations: 142 kB / 1.12 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.6827, allocations: 7.75 kB / 1.12 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.6848, allocations: 1.491 MB / 1.122 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.252e-05/0.6849, allocations: 70.81 kB / 1.122 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.6851, allocations: 127 kB / 1.122 GB, free: 17.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005925/0.6857, allocations: 436.1 kB / 1.122 GB, free: 17.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6857, allocations: 1.312 kB / 1.122 GB, free: 17.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6857, allocations: 0 / 1.122 GB, free: 17.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.6857, allocations: 1.75 kB / 1.122 GB, free: 17.77 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008263/0.6866, allocations: 0.5427 MB / 1.123 GB, free: 17.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6866, allocations: 9.875 kB / 1.123 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.6867, allocations: 58.31 kB / 1.123 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009752/0.6876, allocations: 131.8 kB / 1.123 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.6878, allocations: 225.4 kB / 1.123 GB, free: 17.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.6879, allocations: 18.22 kB / 1.123 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.6879, allocations: 17.17 kB / 1.123 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.6884, allocations: 335.6 kB / 1.124 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.6884, allocations: 3.938 kB / 1.124 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.6884, allocations: 7.406 kB / 1.124 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.6885, allocations: 22.12 kB / 1.124 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.6889, allocations: 320.6 kB / 1.124 GB, free: 16.96 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.001295/0.6902, allocations: 1.111 MB / 1.125 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.6906, allocations: 185.9 kB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.6908, allocations: 81.22 kB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005283/0.6913, allocations: 460 kB / 1.126 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.6913, allocations: 40.5 kB / 1.126 GB, free: 15.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.6914, allocations: 0 / 1.126 GB, free: 15.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.0005732/0.6919, allocations: 261.5 kB / 1.126 GB, free: 15.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.692, allocations: 56.84 kB / 1.126 GB, free: 15.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.6921, allocations: 198.8 kB / 1.126 GB, free: 15.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.6922, allocations: 30.92 kB / 1.126 GB, free: 15.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.6922, allocations: 144 kB / 1.126 GB, free: 15.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.6923, allocations: 76.05 kB / 1.127 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.6923, allocations: 8.5 kB / 1.127 GB, free: 15.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.6924, allocations: 330.2 kB / 1.127 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.6925, allocations: 70.73 kB / 1.127 GB, free: 14.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.6926, allocations: 168.4 kB / 1.127 GB, free: 14.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.6929, allocations: 241.9 kB / 1.127 GB, free: 14.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6929, allocations: 1.156 kB / 1.127 GB, free: 14.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004339/0.6934, allocations: 285.1 kB / 1.128 GB, free: 14.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.6934, allocations: 5.094 kB / 1.128 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6934, allocations: 2.938 kB / 1.128 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.6934, allocations: 9.281 kB / 1.128 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.6936, allocations: 61.88 kB / 1.128 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.6936, allocations: 5.469 kB / 1.128 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.6938, allocations: 31.28 kB / 1.128 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.6939, allocations: 16.67 kB / 1.128 GB, free: 14.58 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.929e-05/0.694, allocations: 137.5 kB / 1.128 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.6941, allocations: 25.16 kB / 1.128 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.6945, allocations: 276.5 kB / 1.128 GB, free: 14.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.6945, allocations: 5.906 kB / 1.128 GB, free: 14.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.6945, allocations: 5.031 kB / 1.128 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6945, allocations: 2.109 kB / 1.128 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.6951, allocations: 0.5757 MB / 1.129 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.6951, allocations: 0 / 1.129 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.6952, allocations: 35.22 kB / 1.129 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.6952, allocations: 5.797 kB / 1.129 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.6953, allocations: 6.688 kB / 1.129 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6953, allocations: 5.156 kB / 1.129 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6953, allocations: 6.875 kB / 1.129 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.6957, allocations: 345.5 kB / 1.129 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.761e-05/0.6958, allocations: 117.6 kB / 1.129 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.6958, allocations: 5.812 kB / 1.129 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.696, allocations: 16.75 kB / 1.129 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.696, allocations: 9 kB / 1.129 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.6961, allocations: 18.59 kB / 1.129 GB, free: 13.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.256e-05/0.6962, allocations: 152.4 kB / 1.129 GB, free: 13.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6962, allocations: 0 / 1.129 GB, free: 13.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003781/0.6966, allocations: 120.8 kB / 1.13 GB, free: 13.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008234/0.6974, allocations: 0.9881 MB / 1.13 GB, free: 12.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002709/0.6977, allocations: 203.7 kB / 1.131 GB, free: 12.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6977, allocations: 0 / 1.131 GB, free: 12.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.6978, allocations: 107.6 kB / 1.131 GB, free: 12.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.6984, allocations: 93.56 kB / 1.131 GB, free: 12.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.6998, allocations: 1.333 MB / 1.132 GB, free: 12.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.7, allocations: 0.7345 MB / 1.133 GB, free: 11.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002586/0.7003, allocations: 60.53 kB / 1.133 GB, free: 11.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/0.7004, allocations: 59.25 kB / 1.133 GB, free: 11.57 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7004, allocations: 0 / 1.133 GB, free: 11.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.575/1.275, allocations: 7.123 MB / 1.14 GB, free: 8.992 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/1.276, allocations: 181.9 kB / 1.14 GB, free: 8.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/3.157, allocations: 0 / 1.14 GB, free: 8.75 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)