Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.0009686/0.0009686, allocations: 105.7 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009779/0.000978, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.176/1.176, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6435/0.6435, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 69.19 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1161, allocations: 76.18 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00203/0.1181, allocations: 1.273 MB / 0.6328 GB, free: 3.598 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000488/0.1186, allocations: 303.2 kB / 0.6331 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.1187, allocations: 0 / 0.6331 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.1187, allocations: 0 / 0.6331 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.095e-05/0.1188, allocations: 15.91 kB / 0.6331 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1191, allocations: 83.72 kB / 0.6332 GB, free: 3.203 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.1192, allocations: 31.86 kB / 0.6333 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.1192, allocations: 7.984 kB / 0.6333 GB, free: 3.164 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.418e-05/0.1193, allocations: 27.92 kB / 0.6333 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.1193, allocations: 15.91 kB / 0.6333 GB, free: 3.121 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1194, allocations: 4 kB / 0.6333 GB, free: 3.117 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1195, allocations: 83.91 kB / 0.6334 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.1195, allocations: 0 / 0.6334 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.1196, allocations: 15.88 kB / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.1197, allocations: 78.59 kB / 0.6335 GB, free: 2.945 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1197, allocations: 0 / 0.6335 GB, free: 2.945 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1197, allocations: 7.938 kB / 0.6335 GB, free: 2.938 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1198, allocations: 0 / 0.6335 GB, free: 2.938 MB / 478.1 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.0003601/0.1201, allocations: 352.2 kB / 0.6338 GB, free: 2.547 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1202, allocations: 16.03 kB / 0.6338 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.83e-05/0.1202, allocations: 30.75 kB / 0.6339 GB, free: 2.492 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.1202, allocations: 8.844 kB / 0.6339 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.309e-05/0.1203, allocations: 160.4 kB / 0.634 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.1203, allocations: 384 / 0.634 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.1204, allocations: 8.125 kB / 0.634 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.833e-05/0.1204, allocations: 41.67 kB / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1205, allocations: 0 / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.1205, allocations: 0 / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1205, allocations: 0 / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/0.1205, allocations: 19.92 kB / 0.6341 GB, free: 2.215 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.1207, allocations: 165.6 kB / 0.6342 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.03e-05/0.1207, allocations: 30.58 kB / 0.6343 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.1208, allocations: 16.84 kB / 0.6343 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009589/0.1217, allocations: 1.183 MB / 0.6354 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1218, allocations: 30.56 kB / 0.6355 GB, free: 476 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1218, allocations: 0 / 0.6355 GB, free: 476 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001355/0.1219, allocations: 53.62 kB / 0.6355 GB, free: 416 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.122, allocations: 51.41 kB / 0.6356 GB, free: 352 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.122, allocations: 109.8 kB / 0.6357 GB, free: 232 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.122, allocations: 33.7 kB / 0.6357 GB, free: 192 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.1221, allocations: 88.11 kB / 0.6358 GB, free: 100 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.1221, allocations: 3.906 kB / 0.6358 GB, free: 96 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.1221, allocations: 21.62 kB / 0.6358 GB, free: 68 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.1222, allocations: 310.8 kB / 0.6361 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.1222, allocations: 4 kB / 0.6361 GB, free: 15.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.1223, allocations: 11.92 kB / 0.6361 GB, free: 15.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.1223, allocations: 16.86 kB / 0.6362 GB, free: 15.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1223, allocations: 4 kB / 0.6362 GB, free: 15.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.741e-05/0.1224, allocations: 53.56 kB / 0.6362 GB, free: 15.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1224, allocations: 4 kB / 0.6362 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1224, allocations: 0 / 0.6362 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1224, allocations: 0 / 0.6362 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.085e-05/0.1225, allocations: 12 kB / 0.6362 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1225, allocations: 0 / 0.6362 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.1225, allocations: 0 / 0.6362 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.1225, allocations: 0 / 0.6362 GB, free: 15.64 MB / 494.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 (3): * Single equations (assignments): 3 * 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 6.813e-05/0.1226, allocations: 121.8 kB / 0.6363 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.1226, allocations: 7.922 kB / 0.6363 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1227, allocations: 57.53 kB / 0.6364 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1227, allocations: 0 / 0.6364 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1227, allocations: 384 / 0.6364 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1228, allocations: 0 / 0.6364 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.1229, allocations: 169.5 kB / 0.6366 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1229, allocations: 0 / 0.6366 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.1229, allocations: 8 kB / 0.6366 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1229, allocations: 7.969 kB / 0.6366 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1229, allocations: 0 / 0.6366 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1229, allocations: 4 kB / 0.6366 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1229, allocations: 0 / 0.6366 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.779e-05/0.123, allocations: 73 kB / 0.6366 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.1231, allocations: 81.11 kB / 0.6367 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.1231, allocations: 0 / 0.6367 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.1231, allocations: 11.98 kB / 0.6367 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.1232, allocations: 4 kB / 0.6367 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1232, allocations: 0 / 0.6367 GB, free: 15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.635e-05/0.1232, allocations: 87.58 kB / 0.6368 GB, free: 14.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1232, allocations: 0 / 0.6368 GB, free: 14.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1234, allocations: 35.92 kB / 0.6369 GB, free: 14.88 MB / 494.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 (3): * Single equations (assignments): 3 * 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.0003856/0.1238, allocations: 0.628 MB / 0.6375 GB, free: 14.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.1239, allocations: 27.86 kB / 0.6375 GB, free: 14.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.124, allocations: 0 / 0.6375 GB, free: 14.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.124, allocations: 8 kB / 0.6375 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.1242, allocations: 4 kB / 0.6375 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.1245, allocations: 167.7 kB / 0.6377 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.1248, allocations: 0.6846 MB / 0.6383 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.428e-05/0.1248, allocations: 4 kB / 0.6383 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.1248, allocations: 7.438 kB / 0.6384 GB, free: 13.25 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1248, allocations: 0 / 0.6384 GB, free: 13.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.1411, allocations: 1.639 MB / 0.64 GB, free: 11.71 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/6.86, allocations: 10.17 kB / 0.64 GB, free: 11.7 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)