Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009369/0.0009371, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4981/0.4981, allocations: 90.92 MB / 99.35 MB, free: 2.176 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008942/0.0008941, allocations: 94.77 kB / 415.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.691e-05, allocations: 4 kB / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1256, allocations: 72.3 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.5808, allocations: 100.6 MB / 0.6518 GB, free: 9.434 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.5811, allocations: 79.31 kB / 0.6519 GB, free: 9.387 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002215/0.5833, allocations: 0.8545 MB / 0.6528 GB, free: 8.613 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5833, allocations: 0 / 0.6528 GB, free: 8.613 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.5834, allocations: 0 / 0.6528 GB, free: 8.613 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002647/0.5836, allocations: 330.7 kB / 0.6531 GB, free: 8.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5837, allocations: 8.031 kB / 0.6531 GB, free: 8.242 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.5837, allocations: 7.859 kB / 0.6531 GB, free: 8.234 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.5839, allocations: 170.7 kB / 0.6532 GB, free: 8.031 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.5839, allocations: 0 / 0.6532 GB, free: 8.031 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.5839, allocations: 0 / 0.6532 GB, free: 8.031 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.523e-05/0.584, allocations: 4 kB / 0.6533 GB, free: 8.027 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.039e-05/0.584, allocations: 37.62 kB / 0.6533 GB, free: 7.984 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.584, allocations: 0 / 0.6533 GB, free: 7.984 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.584, allocations: 4 kB / 0.6533 GB, free: 7.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5841, allocations: 3.953 kB / 0.6533 GB, free: 7.977 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.5842, allocations: 129.8 kB / 0.6534 GB, free: 7.816 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.673e-05/0.5843, allocations: 18.61 kB / 0.6534 GB, free: 7.789 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.5843, allocations: 12.91 kB / 0.6534 GB, free: 7.773 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006445/0.5849, allocations: 0.5969 MB / 0.654 GB, free: 7.051 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.585, allocations: 37.31 kB / 0.6541 GB, free: 7.008 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 3.446e-06/0.585, allocations: 7.984 kB / 0.6541 GB, free: 7 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001534/0.5852, allocations: 36.42 kB / 0.6541 GB, free: 6.961 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.5852, allocations: 55.34 kB / 0.6542 GB, free: 6.895 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.857e-05/0.5853, allocations: 92.88 kB / 0.6543 GB, free: 6.801 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.5853, allocations: 25.7 kB / 0.6543 GB, free: 6.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.5853, allocations: 84.14 kB / 0.6544 GB, free: 6.684 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.5854, allocations: 7.844 kB / 0.6544 GB, free: 6.676 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.5854, allocations: 32 / 0.6544 GB, free: 6.676 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5855, allocations: 326.1 kB / 0.6547 GB, free: 6.352 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.5855, allocations: 4 kB / 0.6547 GB, free: 6.348 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-06/0.5855, allocations: 0 / 0.6547 GB, free: 6.348 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.5856, allocations: 4 kB / 0.6547 GB, free: 6.344 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5856, allocations: 0 / 0.6547 GB, free: 6.344 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.459e-05/0.5856, allocations: 33.7 kB / 0.6547 GB, free: 6.305 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5857, allocations: 4.938 kB / 0.6547 GB, free: 6.301 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.5857, allocations: 3.984 kB / 0.6547 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.5857, allocations: 4.094 kB / 0.6547 GB, free: 6.293 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.6e-05/0.5857, allocations: 4 kB / 0.6547 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5858, allocations: 0.7812 kB / 0.6547 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.5858, allocations: 3.562 kB / 0.6547 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.5858, allocations: 7.938 kB / 0.6547 GB, free: 6.281 MB / 458.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 (2): * Single equations (assignments): 2 * 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.548e-05/0.5859, allocations: 104.9 kB / 0.6548 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.106e-05/0.5859, allocations: 33.7 kB / 0.6549 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-06/0.5859, allocations: 7.891 kB / 0.6549 GB, free: 6.125 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.583e-05/0.5861, allocations: 48.98 kB / 0.6549 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5861, allocations: 0 / 0.6549 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5861, allocations: 3.938 kB / 0.6549 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5861, allocations: 0 / 0.6549 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.404e-05/0.5862, allocations: 134.2 kB / 0.6551 GB, free: 5.906 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5862, allocations: 7.875 kB / 0.6551 GB, free: 5.898 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.5862, allocations: 0 / 0.6551 GB, free: 5.898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5862, allocations: 4 kB / 0.6551 GB, free: 5.895 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.5862, allocations: 0 / 0.6551 GB, free: 5.895 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5862, allocations: 3.062 kB / 0.6551 GB, free: 5.895 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.5862, allocations: 4.016 kB / 0.6551 GB, free: 5.891 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.124e-05/0.5863, allocations: 64.66 kB / 0.6551 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.5864, allocations: 81.11 kB / 0.6552 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.5864, allocations: 0 / 0.6552 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.648e-05/0.5864, allocations: 3.984 kB / 0.6552 GB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.5864, allocations: 0 / 0.6552 GB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.5865, allocations: 0 / 0.6552 GB, free: 5.711 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.067e-05/0.5865, allocations: 87 kB / 0.6553 GB, free: 5.629 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5865, allocations: 0 / 0.6553 GB, free: 5.629 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.5867, allocations: 16 kB / 0.6553 GB, free: 5.613 MB / 458.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 (2): * Single equations (assignments): 2 * 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.0004028/0.5871, allocations: 0.6118 MB / 0.6559 GB, free: 4.973 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.734e-05/0.5872, allocations: 11.98 kB / 0.6559 GB, free: 4.961 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5872, allocations: 4.094 kB / 0.6559 GB, free: 4.957 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.348e-06/0.5872, allocations: 7.375 kB / 0.6559 GB, free: 4.953 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.5874, allocations: 4 kB / 0.6559 GB, free: 4.949 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.5876, allocations: 89.59 kB / 0.656 GB, free: 4.824 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.5879, allocations: 0.6806 MB / 0.6567 GB, free: 4.117 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.983e-05/0.588, allocations: 4.062 kB / 0.6567 GB, free: 4.113 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.588, allocations: 18.88 kB / 0.6567 GB, free: 4.098 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.588, allocations: 0 / 0.6567 GB, free: 4.098 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.6073, allocations: 0.8987 MB / 0.6576 GB, free: 3.215 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.6076, allocations: 139.8 kB / 0.6577 GB, free: 3.023 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.079, allocations: 0 / 0.6577 GB, free: 3.023 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)