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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 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.00107/0.00107, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.126/1.126, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8079/0.8079, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 59.91 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1185, allocations: 82.05 MB / 0.5944 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001908/0.1204, allocations: 1.284 MB / 0.5957 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004494/0.1209, allocations: 298.9 kB / 0.5959 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.1209, allocations: 0 / 0.5959 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.1209, allocations: 0 / 0.5959 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.654e-05/0.121, allocations: 11.86 kB / 0.596 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.1212, allocations: 83.77 kB / 0.596 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.35e-05/0.1213, allocations: 31.86 kB / 0.5961 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.1213, allocations: 11.92 kB / 0.5961 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.1214, allocations: 31.86 kB / 0.5961 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.1e-05/0.1215, allocations: 11.94 kB / 0.5961 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1215, allocations: 0 / 0.5961 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1216, allocations: 79.91 kB / 0.5962 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.1216, allocations: 4 kB / 0.5962 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.1217, allocations: 11.92 kB / 0.5962 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.1218, allocations: 80.06 kB / 0.5963 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1218, allocations: 0 / 0.5963 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1218, allocations: 0 / 0.5963 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1218, allocations: 3.938 kB / 0.5963 GB, free: 7.508 MB / 0.4981 GB 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.000314/0.1221, allocations: 355.4 kB / 0.5966 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.1222, allocations: 8.031 kB / 0.5966 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.778e-05/0.1222, allocations: 34.75 kB / 0.5967 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.1222, allocations: 4.844 kB / 0.5967 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.598e-05/0.1223, allocations: 168.4 kB / 0.5968 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.1223, allocations: 4.359 kB / 0.5968 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-06/0.1223, allocations: 384 / 0.5968 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.135e-05/0.1224, allocations: 45.62 kB / 0.5969 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1224, allocations: 7.938 kB / 0.5969 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.1225, allocations: 0 / 0.5969 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.1225, allocations: 0 / 0.5969 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.1225, allocations: 7.984 kB / 0.5969 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.1226, allocations: 165.6 kB / 0.5971 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.816e-05/0.1227, allocations: 34.61 kB / 0.5971 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.1227, allocations: 8.922 kB / 0.5971 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009156/0.1237, allocations: 1.187 MB / 0.5983 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1237, allocations: 34.56 kB / 0.5983 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.475e-06/0.1237, allocations: 3.938 kB / 0.5983 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001218/0.1238, allocations: 45.69 kB / 0.5983 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.1239, allocations: 59.41 kB / 0.5984 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.614e-05/0.1239, allocations: 109.8 kB / 0.5985 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1239, allocations: 25.7 kB / 0.5985 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.124, allocations: 80.14 kB / 0.5986 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.124, allocations: 11.84 kB / 0.5986 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.124, allocations: 21.62 kB / 0.5986 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.1241, allocations: 314.8 kB / 0.5989 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.1241, allocations: 4 kB / 0.5989 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.1241, allocations: 4 kB / 0.5989 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.1242, allocations: 20.8 kB / 0.599 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1242, allocations: 0 / 0.599 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.873e-05/0.1242, allocations: 49.62 kB / 0.599 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.1243, allocations: 18.53 kB / 0.599 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1243, allocations: 0 / 0.599 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1243, allocations: 0 / 0.599 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.149e-05/0.1243, allocations: 7.984 kB / 0.599 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-06/0.1243, allocations: 0 / 0.599 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.1244, allocations: 4 kB / 0.599 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1244, allocations: 8 kB / 0.599 GB, free: 4.199 MB / 0.4981 GB 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.138e-05/0.1244, allocations: 109.8 kB / 0.5992 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.1244, allocations: 7.938 kB / 0.5992 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.1246, allocations: 53.86 kB / 0.5992 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1246, allocations: 0 / 0.5992 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1246, allocations: 7.984 kB / 0.5992 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1246, allocations: 8.031 kB / 0.5992 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.194e-05/0.1247, allocations: 161.6 kB / 0.5994 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1247, allocations: 3.938 kB / 0.5994 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.343e-05/0.1247, allocations: 4 kB / 0.5994 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1247, allocations: 4 kB / 0.5994 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-06/0.1247, allocations: 0 / 0.5994 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1247, allocations: 0 / 0.5994 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1247, allocations: 320 / 0.5994 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.454e-05/0.1248, allocations: 77.06 kB / 0.5995 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.1249, allocations: 85.03 kB / 0.5995 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-06/0.1249, allocations: 0 / 0.5995 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.1249, allocations: 8 kB / 0.5996 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-06/0.1249, allocations: 0 / 0.5996 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1249, allocations: 0 / 0.5996 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.125, allocations: 91.25 kB / 0.5996 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.125, allocations: 0 / 0.5996 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001856/0.1252, allocations: 31.94 kB / 0.5997 GB, free: 3.449 MB / 0.4981 GB 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.0003385/0.1255, allocations: 0.6435 MB / 0.6003 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.936e-05/0.1256, allocations: 16 kB / 0.6003 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1256, allocations: 0 / 0.6003 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.1256, allocations: 4 kB / 0.6003 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.1258, allocations: 15.92 kB / 0.6003 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.1261, allocations: 163.6 kB / 0.6005 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.1263, allocations: 0.6768 MB / 0.6012 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.1263, allocations: 11.98 kB / 0.6012 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.1264, allocations: 15.38 kB / 0.6012 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1264, allocations: 0 / 0.6012 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.1414, allocations: 1.625 MB / 0.6028 GB, free: 320 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.082/6.223, allocations: 9.734 kB / 0.6028 GB, free: 312 kB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)