Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7411/0.7411, allocations: 127.4 MB / 134.9 MB, free: 3.711 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.00103/0.00103, allocations: 180.8 kB / 164.7 MB, free: 6.52 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.704/1.704, allocations: 205.2 MB / 399.5 MB, free: 5.859 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.0009065/0.0009063, allocations: 98.05 kB / 476.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.865e-05, allocations: 0 / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1531, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5431/0.6963, allocations: 102.3 MB / 0.7215 GB, free: 13 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.6965, allocations: 78.39 kB / 0.7216 GB, free: 12.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005157/0.7017, allocations: 1.815 MB / 0.7234 GB, free: 11.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7018, allocations: 0 / 0.7234 GB, free: 11.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.7018, allocations: 8 kB / 0.7234 GB, free: 11.4 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003972/0.7022, allocations: 345.1 kB / 0.7237 GB, free: 11.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.7022, allocations: 8.031 kB / 0.7237 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.7023, allocations: 8.734 kB / 0.7237 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.7024, allocations: 166.9 kB / 0.7239 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.7025, allocations: 3.938 kB / 0.7239 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-06/0.7025, allocations: 4 kB / 0.7239 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.89e-05/0.7026, allocations: 11.3 kB / 0.7239 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.737e-05/0.7027, allocations: 41.67 kB / 0.724 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.7027, allocations: 4 kB / 0.724 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.7027, allocations: 3.875 kB / 0.724 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7027, allocations: 0 / 0.724 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.7029, allocations: 138 kB / 0.7241 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.778e-05/0.703, allocations: 33.95 kB / 0.7241 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.703, allocations: 8.922 kB / 0.7241 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.704, allocations: 1.174 MB / 0.7253 GB, free: 9.094 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.7041, allocations: 34.56 kB / 0.7253 GB, free: 9.051 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.7041, allocations: 0 / 0.7253 GB, free: 9.051 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000181/0.7043, allocations: 45.56 kB / 0.7254 GB, free: 9.004 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.7043, allocations: 51.41 kB / 0.7254 GB, free: 8.941 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.7044, allocations: 92.81 kB / 0.7255 GB, free: 8.848 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.7044, allocations: 37.64 kB / 0.7255 GB, free: 8.805 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.7045, allocations: 80.14 kB / 0.7256 GB, free: 8.723 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.7045, allocations: 11.75 kB / 0.7256 GB, free: 8.711 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.7045, allocations: 0 / 0.7256 GB, free: 8.711 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7046, allocations: 321.4 kB / 0.7259 GB, free: 8.391 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.7047, allocations: 7.188 kB / 0.7259 GB, free: 8.387 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.7047, allocations: 4 kB / 0.7259 GB, free: 8.383 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.7047, allocations: 7.938 kB / 0.7259 GB, free: 8.375 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7047, allocations: 0 / 0.7259 GB, free: 8.375 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.407e-05/0.7048, allocations: 48.88 kB / 0.726 GB, free: 8.324 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7049, allocations: 4 kB / 0.726 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.7049, allocations: 0 / 0.726 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.7049, allocations: 0 / 0.726 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.705, allocations: 8 kB / 0.726 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.705, allocations: 0 / 0.726 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.705, allocations: 0 / 0.726 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.705, allocations: 0 / 0.726 GB, free: 8.312 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.23e-05/0.7051, allocations: 108.9 kB / 0.7261 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.342e-05/0.7052, allocations: 53.58 kB / 0.7262 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-06/0.7052, allocations: 3.906 kB / 0.7262 GB, free: 8.141 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.7054, allocations: 57.77 kB / 0.7262 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7054, allocations: 0 / 0.7262 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7054, allocations: 0 / 0.7262 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7054, allocations: 0 / 0.7262 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.7055, allocations: 142.1 kB / 0.7264 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7055, allocations: 0 / 0.7264 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.7055, allocations: 11.94 kB / 0.7264 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7055, allocations: 288 / 0.7264 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.7055, allocations: 0 / 0.7264 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7056, allocations: 0.7812 kB / 0.7264 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.7056, allocations: 7.984 kB / 0.7264 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.7057, allocations: 79.97 kB / 0.7264 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.7058, allocations: 84.42 kB / 0.7265 GB, free: 7.699 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.7058, allocations: 0 / 0.7265 GB, free: 7.699 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.7058, allocations: 4 kB / 0.7265 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.7059, allocations: 11.92 kB / 0.7265 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.7059, allocations: 0 / 0.7265 GB, free: 7.684 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.7059, allocations: 82.78 kB / 0.7266 GB, free: 7.605 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7059, allocations: 0 / 0.7266 GB, free: 7.605 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.7061, allocations: 27.94 kB / 0.7266 GB, free: 7.578 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004814/0.7066, allocations: 0.6541 MB / 0.7273 GB, free: 6.895 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.391e-05/0.7067, allocations: 11.12 kB / 0.7273 GB, free: 6.887 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.7067, allocations: 0 / 0.7273 GB, free: 6.887 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.7067, allocations: 8 kB / 0.7273 GB, free: 6.879 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.7069, allocations: 4.297 kB / 0.7273 GB, free: 6.879 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.7072, allocations: 108.5 kB / 0.7274 GB, free: 6.738 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.7075, allocations: 0.6846 MB / 0.7281 GB, free: 6.027 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.7076, allocations: 7.984 kB / 0.7281 GB, free: 6.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.7076, allocations: 7.438 kB / 0.7281 GB, free: 6.012 MB / 490.7 MB Notification: Performance of SimCode: time 1.753e-06/0.7076, allocations: 0 / 0.7281 GB, free: 6.012 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.7296, allocations: 1.128 MB / 0.7292 GB, free: 4.891 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.7299, allocations: 157.4 kB / 0.7293 GB, free: 4.703 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.352, allocations: 3.375 kB / 0.7294 GB, free: 4.703 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)