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.0006915/0.0006915, allocations: 93.81 kB / 16.02 MB, free: 84 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.0008846/0.0008847, allocations: 181.4 kB / 16.92 MB, free: 6.684 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.183/1.183, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6155/0.6155, allocations: 115.5 MB / 407.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.0002618, allocations: 8.5 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.114, allocations: 77.53 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001108/0.1151, allocations: 1.009 MB / 0.561 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000489/0.1156, allocations: 303 kB / 0.5613 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.641e-05/0.1157, allocations: 7.938 kB / 0.5613 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.1157, allocations: 3.938 kB / 0.5613 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/0.1158, allocations: 11.91 kB / 0.5613 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.116, allocations: 51.88 kB / 0.5614 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.549e-05/0.116, allocations: 43.78 kB / 0.5614 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.1161, allocations: 0 / 0.5614 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.1162, allocations: 31.86 kB / 0.5615 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.1162, allocations: 15.92 kB / 0.5615 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1162, allocations: 0 / 0.5615 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.1164, allocations: 79.91 kB / 0.5616 GB, free: 7.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.1164, allocations: 7.984 kB / 0.5616 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.1164, allocations: 33.64 kB / 0.5616 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1166, allocations: 84.06 kB / 0.5617 GB, free: 7.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1166, allocations: 0 / 0.5617 GB, free: 7.246 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1166, allocations: 0 / 0.5617 GB, free: 7.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.1166, allocations: 0 / 0.5617 GB, free: 7.246 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003021/0.1169, allocations: 347.4 kB / 0.562 GB, free: 6.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1169, allocations: 8.031 kB / 0.562 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.117, allocations: 38.75 kB / 0.5621 GB, free: 6.805 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.117, allocations: 0.9375 kB / 0.5621 GB, free: 6.805 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.733e-05/0.1171, allocations: 176.3 kB / 0.5622 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-06/0.1171, allocations: 8.312 kB / 0.5622 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.1171, allocations: 384 / 0.5622 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.338e-05/0.1172, allocations: 41.62 kB / 0.5623 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.1172, allocations: 0 / 0.5623 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1172, allocations: 4 kB / 0.5623 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1172, allocations: 0 / 0.5623 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.1173, allocations: 8 kB / 0.5623 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.1174, allocations: 153.7 kB / 0.5624 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/0.1175, allocations: 42.55 kB / 0.5625 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.1175, allocations: 12.92 kB / 0.5625 GB, free: 6.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000943/0.1185, allocations: 1.191 MB / 0.5636 GB, free: 4.812 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.1185, allocations: 34.56 kB / 0.5637 GB, free: 4.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1185, allocations: 0 / 0.5637 GB, free: 4.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000127/0.1187, allocations: 49.59 kB / 0.5637 GB, free: 4.715 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.1187, allocations: 55.41 kB / 0.5638 GB, free: 4.648 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/0.1188, allocations: 109.8 kB / 0.5639 GB, free: 4.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1188, allocations: 29.64 kB / 0.5639 GB, free: 4.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/0.1188, allocations: 80.14 kB / 0.564 GB, free: 4.414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.1188, allocations: 19.84 kB / 0.564 GB, free: 4.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.1189, allocations: 13.7 kB / 0.564 GB, free: 4.375 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.322e-05/0.1189, allocations: 310.8 kB / 0.5643 GB, free: 4.062 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.119, allocations: 4 kB / 0.5643 GB, free: 4.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.177e-05/0.119, allocations: 8 kB / 0.5643 GB, free: 4.051 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.148e-05/0.119, allocations: 12.86 kB / 0.5643 GB, free: 4.035 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.119, allocations: 7.984 kB / 0.5643 GB, free: 4.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.303e-05/0.1191, allocations: 45.58 kB / 0.5644 GB, free: 3.977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1191, allocations: 4 kB / 0.5644 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.1191, allocations: 4 kB / 0.5644 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.1191, allocations: 0 / 0.5644 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.633e-05/0.1192, allocations: 15.86 kB / 0.5644 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.1192, allocations: 0 / 0.5644 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.1192, allocations: 8 kB / 0.5644 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-06/0.1192, allocations: 0 / 0.5644 GB, free: 3.945 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 (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 5.992e-05/0.1193, allocations: 105.8 kB / 0.5645 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.1193, allocations: 11.84 kB / 0.5645 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1194, allocations: 61.91 kB / 0.5646 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1194, allocations: 7.984 kB / 0.5646 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1194, allocations: 4 kB / 0.5646 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1195, allocations: 0 / 0.5646 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.121e-05/0.1195, allocations: 157.7 kB / 0.5648 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1196, allocations: 3.938 kB / 0.5648 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.1196, allocations: 11.94 kB / 0.5648 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1196, allocations: 0 / 0.5648 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.1196, allocations: 0 / 0.5648 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1196, allocations: 4 kB / 0.5648 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1196, allocations: 0 / 0.5648 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.643e-05/0.1197, allocations: 69.12 kB / 0.5648 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1198, allocations: 92.94 kB / 0.5649 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.1198, allocations: 4 kB / 0.5649 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.1198, allocations: 0 / 0.5649 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.1198, allocations: 0 / 0.5649 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.1198, allocations: 4 kB / 0.5649 GB, free: 3.312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.63e-05/0.1199, allocations: 91.27 kB / 0.565 GB, free: 3.223 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1199, allocations: 0 / 0.565 GB, free: 3.223 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.1201, allocations: 27.94 kB / 0.565 GB, free: 3.195 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 (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.0003466/0.1204, allocations: 0.6319 MB / 0.5657 GB, free: 2.535 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.158e-05/0.1205, allocations: 19.98 kB / 0.5657 GB, free: 2.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1205, allocations: 0 / 0.5657 GB, free: 2.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.001e-05/0.1205, allocations: 11.94 kB / 0.5657 GB, free: 2.504 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.1207, allocations: 7.594 kB / 0.5657 GB, free: 2.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.121, allocations: 176.1 kB / 0.5659 GB, free: 2.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.1212, allocations: 0.6809 MB / 0.5665 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.083e-05/0.1213, allocations: 11.94 kB / 0.5665 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.1213, allocations: 11.44 kB / 0.5666 GB, free: 1.551 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1213, allocations: 0 / 0.5666 GB, free: 1.551 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2111/0.3324, allocations: 1.421 MB / 0.5679 GB, free: 276 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.3326, allocations: 208.4 kB / 0.5681 GB, free: 16 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.024, allocations: 0 / 0.5681 GB, free: 16 kB / 430.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)