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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008299/0.00083, allocations: 98.5 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008885/0.0008884, allocations: 179.2 kB / 16.92 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6222/0.6222, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002556/0.0002556, allocations: 8 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 77.53 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001119/0.114, allocations: 0.9737 MB / 0.561 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002681/0.1143, allocations: 135.5 kB / 0.5611 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.191e-05/0.1143, allocations: 4 kB / 0.5611 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.1144, allocations: 0 / 0.5611 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.1144, allocations: 0 / 0.5611 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.1146, allocations: 31.89 kB / 0.5612 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.853e-05/0.1146, allocations: 7.938 kB / 0.5612 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.1147, allocations: 7.984 kB / 0.5612 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.1147, allocations: 4 kB / 0.5612 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.1147, allocations: 11.94 kB / 0.5612 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1148, allocations: 4 kB / 0.5612 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1149, allocations: 47.94 kB / 0.5612 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.1149, allocations: 4 kB / 0.5612 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.1149, allocations: 25.7 kB / 0.5613 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.11e-05/0.115, allocations: 43.88 kB / 0.5613 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.115, allocations: 0 / 0.5613 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.115, allocations: 0 / 0.5613 GB, free: 7.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.115, allocations: 0 / 0.5613 GB, free: 7.637 MB / 430.1 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.0002804/0.1153, allocations: 331.8 kB / 0.5616 GB, free: 7.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1154, allocations: 8.031 kB / 0.5616 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.1154, allocations: 34.75 kB / 0.5617 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.957e-05/0.1154, allocations: 8.781 kB / 0.5617 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.916e-05/0.1155, allocations: 164.4 kB / 0.5618 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.1155, allocations: 4.312 kB / 0.5618 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.1155, allocations: 4.375 kB / 0.5618 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.503e-05/0.1156, allocations: 33.64 kB / 0.5619 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-06/0.1156, allocations: 4 kB / 0.5619 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.1156, allocations: 4 kB / 0.5619 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.1156, allocations: 0 / 0.5619 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.842e-05/0.1157, allocations: 11.98 kB / 0.5619 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.1158, allocations: 141.7 kB / 0.562 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.84e-05/0.1159, allocations: 30.55 kB / 0.5621 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.1159, allocations: 8.844 kB / 0.5621 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006069/0.1165, allocations: 0.6246 MB / 0.5627 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.1165, allocations: 30.56 kB / 0.5627 GB, free: 5.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.1165, allocations: 0 / 0.5627 GB, free: 5.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001143/0.1167, allocations: 37.69 kB / 0.5627 GB, free: 5.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.1167, allocations: 59.34 kB / 0.5628 GB, free: 5.797 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.606e-05/0.1167, allocations: 97.86 kB / 0.5629 GB, free: 5.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.1168, allocations: 29.83 kB / 0.5629 GB, free: 5.656 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.1168, allocations: 84.12 kB / 0.563 GB, free: 5.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1168, allocations: 3.906 kB / 0.563 GB, free: 5.566 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.1169, allocations: 13.72 kB / 0.563 GB, free: 5.547 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.1169, allocations: 310.8 kB / 0.5633 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.117, allocations: 4 kB / 0.5633 GB, free: 5.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.117, allocations: 4 kB / 0.5633 GB, free: 5.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.573e-05/0.117, allocations: 12.86 kB / 0.5633 GB, free: 5.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.117, allocations: 4.062 kB / 0.5633 GB, free: 5.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.793e-05/0.1171, allocations: 41.62 kB / 0.5634 GB, free: 5.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1171, allocations: 9.5 kB / 0.5634 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1171, allocations: 4 kB / 0.5634 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.1171, allocations: 0 / 0.5634 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-05/0.1172, allocations: 0 / 0.5634 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1172, allocations: 4 kB / 0.5634 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.1172, allocations: 0 / 0.5634 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-06/0.1172, allocations: 0 / 0.5634 GB, free: 5.145 MB / 430.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/0.1173, allocations: 117.8 kB / 0.5635 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.1173, allocations: 11.92 kB / 0.5635 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.622e-05/0.1174, allocations: 40.83 kB / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.1174, allocations: 192 / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1174, allocations: 0 / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1174, allocations: 7.969 kB / 0.5636 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.299e-05/0.1175, allocations: 153.6 kB / 0.5637 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1175, allocations: 7.938 kB / 0.5637 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.1175, allocations: 7.938 kB / 0.5637 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1175, allocations: 11.95 kB / 0.5637 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.1175, allocations: 0 / 0.5637 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1175, allocations: 0 / 0.5637 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1175, allocations: 0 / 0.5637 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.275e-05/0.1176, allocations: 65.08 kB / 0.5638 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.1176, allocations: 85.03 kB / 0.5639 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.1177, allocations: 0 / 0.5639 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.492e-05/0.1177, allocations: 0 / 0.5639 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-06/0.1177, allocations: 4.031 kB / 0.5639 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.1177, allocations: 4 kB / 0.5639 GB, free: 4.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.582e-05/0.1177, allocations: 75.28 kB / 0.564 GB, free: 4.465 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1177, allocations: 0 / 0.564 GB, free: 4.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001825/0.1179, allocations: 16 kB / 0.564 GB, free: 4.449 MB / 430.1 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 () * Number of clocked 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 (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.0003107/0.1182, allocations: 0.628 MB / 0.5646 GB, free: 3.789 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.577e-05/0.1183, allocations: 8 kB / 0.5646 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1183, allocations: 0 / 0.5646 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.1183, allocations: 7.938 kB / 0.5646 GB, free: 3.773 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.1185, allocations: 11.98 kB / 0.5646 GB, free: 3.762 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007097/0.1192, allocations: 1.088 MB / 0.5657 GB, free: 2.594 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.1194, allocations: 0.681 MB / 0.5663 GB, free: 1.887 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.345e-05/0.1194, allocations: 4 kB / 0.5663 GB, free: 1.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.1195, allocations: 11.44 kB / 0.5664 GB, free: 1.871 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1195, allocations: 0 / 0.5664 GB, free: 1.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1861/0.3056, allocations: 1.227 MB / 0.5676 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.3058, allocations: 201.3 kB / 0.5677 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/1.75, allocations: 0 / 0.5677 GB, free: 0.5273 MB / 430.1 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/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)