Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7084/0.7084, allocations: 128.7 MB / 144.5 MB, free: 1.395 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 186.5 kB / 174.2 MB, free: 5.953 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205 MB / 408.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009531/0.0009531, allocations: 99 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 53.75 kB / 0.558 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.127, allocations: 75.47 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirProperties): time 0.4561/0.5831, allocations: 146.9 MB / 0.7751 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.007346/0.5905, allocations: 7.2 MB / 0.7821 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.5907, allocations: 2.562 kB / 0.7821 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.5912, allocations: 65.59 kB / 0.7822 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.5917, allocations: 155.6 kB / 0.7823 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.5941, allocations: 0.9334 MB / 0.7832 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.5947, allocations: 0.5489 MB / 0.7838 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.5947, allocations: 13.53 kB / 0.7838 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004185/0.5952, allocations: 194.3 kB / 0.784 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.5954, allocations: 154.3 kB / 0.7841 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.5954, allocations: 7.156 kB / 0.7841 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.5978, allocations: 1.515 MB / 0.7856 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.5979, allocations: 74.02 kB / 0.7857 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.5981, allocations: 113 kB / 0.7858 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.5995, allocations: 0.7501 MB / 0.7865 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.5995, allocations: 1.312 kB / 0.7865 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5995, allocations: 0 / 0.7865 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.5996, allocations: 0 / 0.7865 GB, free: 13.08 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00129/0.6009, allocations: 0.5967 MB / 0.7871 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.6009, allocations: 9.938 kB / 0.7871 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.602, allocations: 130.5 kB / 0.7872 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.6023, allocations: 227.1 kB / 0.7874 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.6023, allocations: 21.38 kB / 0.7875 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.6024, allocations: 15.66 kB / 0.7875 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.603, allocations: 350.1 kB / 0.7878 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.603, allocations: 3.938 kB / 0.7878 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.603, allocations: 10.16 kB / 0.7878 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.6031, allocations: 17.27 kB / 0.7878 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.6036, allocations: 319 kB / 0.7881 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.6053, allocations: 1.201 MB / 0.7893 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.6058, allocations: 182.3 kB / 0.7895 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.6059, allocations: 79.22 kB / 0.7896 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005138/0.6064, allocations: 461.6 kB / 0.79 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.6065, allocations: 43.59 kB / 0.7901 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.6065, allocations: 0 / 0.7901 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20): time 0.0006522/0.6071, allocations: 242 kB / 0.7903 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.6072, allocations: 55.11 kB / 0.7903 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.6074, allocations: 224.5 kB / 0.7905 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.6075, allocations: 30.8 kB / 0.7906 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.6076, allocations: 148.7 kB / 0.7907 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.6076, allocations: 67.08 kB / 0.7908 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.6077, allocations: 56.36 kB / 0.7908 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6079, allocations: 327.7 kB / 0.7912 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.608, allocations: 72.31 kB / 0.7912 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.6083, allocations: 171.8 kB / 0.7914 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.6087, allocations: 261.5 kB / 0.7916 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.6087, allocations: 0 / 0.7916 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005484/0.6092, allocations: 283.7 kB / 0.7919 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.6093, allocations: 12.62 kB / 0.7919 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.6093, allocations: 5.312 kB / 0.7919 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.6093, allocations: 4.156 kB / 0.7919 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.6096, allocations: 54.03 kB / 0.792 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.6096, allocations: 10.75 kB / 0.792 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.6098, allocations: 31 kB / 0.792 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.6099, allocations: 14.97 kB / 0.792 GB, free: 9.793 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.6101, allocations: 141 kB / 0.7922 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.6102, allocations: 31.38 kB / 0.7922 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004798/0.6107, allocations: 268.5 kB / 0.7924 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.6107, allocations: 8.875 kB / 0.7925 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6107, allocations: 0 / 0.7925 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6107, allocations: 0 / 0.7925 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007259/0.6114, allocations: 0.5602 MB / 0.793 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.6115, allocations: 0 / 0.793 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.6116, allocations: 35.09 kB / 0.793 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6116, allocations: 1.219 kB / 0.793 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.6117, allocations: 6.125 kB / 0.793 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.6117, allocations: 1.469 kB / 0.793 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6117, allocations: 2.703 kB / 0.793 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.6127, allocations: 0.9917 MB / 0.794 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.6129, allocations: 118.4 kB / 0.7941 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.6129, allocations: 7.469 kB / 0.7941 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.6132, allocations: 19.55 kB / 0.7942 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.6132, allocations: 12.67 kB / 0.7942 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.6133, allocations: 18.83 kB / 0.7942 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001554/0.6134, allocations: 162.5 kB / 0.7943 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6134, allocations: 0 / 0.7943 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006489/0.6141, allocations: 121 kB / 0.7945 GB, free: 8.328 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004434/0.6145, allocations: 214.6 kB / 0.7947 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.6149, allocations: 202.5 kB / 0.7949 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6149, allocations: 0 / 0.7949 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.6151, allocations: 98.88 kB / 0.7949 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.6157, allocations: 88.84 kB / 0.795 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.6167, allocations: 0.7043 MB / 0.7957 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.617, allocations: 0.7421 MB / 0.7964 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002946/0.6173, allocations: 60.5 kB / 0.7965 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.394e-05/0.6174, allocations: 21.62 kB / 0.7965 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/0.6174, allocations: 1.438 kB / 0.7965 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of Templates: time 0.01059/0.628, allocations: 5.586 MB / 0.802 GB, free: 4.32 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe 2>&1)