Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_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.001116/0.001116, allocations: 108 kB / 15.61 MB, free: 152 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.001086/0.001086, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.155/1.155, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.8455/0.8455, allocations: 143 MB / 433.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 63.89 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.119, allocations: 82.04 MB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001896/0.1209, allocations: 1.249 MB / 0.5956 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002326/0.1212, allocations: 123.5 kB / 0.5957 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.1212, allocations: 0 / 0.5957 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.1212, allocations: 7.938 kB / 0.5957 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.832e-05/0.1213, allocations: 7.969 kB / 0.5957 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.1215, allocations: 39.84 kB / 0.5958 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.77e-05/0.1215, allocations: 11.92 kB / 0.5958 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.1216, allocations: 4 kB / 0.5958 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.1216, allocations: 0 / 0.5958 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.1216, allocations: 15.86 kB / 0.5958 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.1216, allocations: 4 kB / 0.5958 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1218, allocations: 51.94 kB / 0.5959 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.649e-06/0.1218, allocations: 4 kB / 0.5959 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.1218, allocations: 11.92 kB / 0.5959 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.687e-05/0.1219, allocations: 35.95 kB / 0.5959 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1219, allocations: 0 / 0.5959 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1219, allocations: 0 / 0.5959 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.1219, allocations: 0 / 0.5959 GB, free: 7.906 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003037/0.1222, allocations: 338.1 kB / 0.5962 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.1223, allocations: 12.03 kB / 0.5963 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.286e-05/0.1223, allocations: 34.75 kB / 0.5963 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.817e-05/0.1223, allocations: 0.9375 kB / 0.5963 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.974e-05/0.1224, allocations: 164.4 kB / 0.5964 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.1224, allocations: 384 / 0.5964 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.1224, allocations: 384 / 0.5964 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.344e-05/0.1225, allocations: 45.5 kB / 0.5965 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.1225, allocations: 0 / 0.5965 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.1225, allocations: 0 / 0.5965 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1225, allocations: 4 kB / 0.5965 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.554e-05/0.1226, allocations: 8 kB / 0.5965 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.1227, allocations: 153.7 kB / 0.5966 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/0.1227, allocations: 22.58 kB / 0.5967 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.1228, allocations: 8.922 kB / 0.5967 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006058/0.1234, allocations: 0.6206 MB / 0.5973 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.1234, allocations: 34.56 kB / 0.5973 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1234, allocations: 0 / 0.5973 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001039/0.1235, allocations: 33.7 kB / 0.5973 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.1235, allocations: 51.41 kB / 0.5974 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.1236, allocations: 101.8 kB / 0.5975 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.1236, allocations: 29.7 kB / 0.5975 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.1236, allocations: 80.14 kB / 0.5976 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.1237, allocations: 12.03 kB / 0.5976 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.1237, allocations: 13.72 kB / 0.5976 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.1238, allocations: 314.8 kB / 0.5979 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.1238, allocations: 0 / 0.5979 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-06/0.1238, allocations: 7.938 kB / 0.5979 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.1238, allocations: 12.86 kB / 0.5979 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1238, allocations: 0 / 0.5979 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.386e-05/0.1239, allocations: 45.73 kB / 0.598 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.1239, allocations: 8 kB / 0.598 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1239, allocations: 3.984 kB / 0.598 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.1239, allocations: 3.938 kB / 0.598 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-05/0.124, allocations: 4 kB / 0.598 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.124, allocations: 0 / 0.598 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.124, allocations: 0 / 0.598 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-06/0.124, allocations: 0 / 0.598 GB, free: 5.41 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 (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.777e-05/0.1241, allocations: 117.7 kB / 0.5981 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.1241, allocations: 7.844 kB / 0.5981 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.1242, allocations: 48.81 kB / 0.5982 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1242, allocations: 0 / 0.5982 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1242, allocations: 3.938 kB / 0.5982 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-06/0.1242, allocations: 0 / 0.5982 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.945e-05/0.1243, allocations: 153.7 kB / 0.5983 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1243, allocations: 3.938 kB / 0.5983 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.1243, allocations: 4 kB / 0.5983 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1243, allocations: 0 / 0.5983 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.1243, allocations: 0 / 0.5983 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1243, allocations: 8.031 kB / 0.5983 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1243, allocations: 4 kB / 0.5983 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.622e-05/0.1244, allocations: 65.06 kB / 0.5984 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.1244, allocations: 81.05 kB / 0.5985 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.1244, allocations: 0 / 0.5985 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.45e-05/0.1245, allocations: 4 kB / 0.5985 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-06/0.1245, allocations: 0 / 0.5985 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.1245, allocations: 0 / 0.5985 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.865e-05/0.1245, allocations: 91.3 kB / 0.5986 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1245, allocations: 0 / 0.5986 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001726/0.1247, allocations: 16 kB / 0.5986 GB, free: 4.715 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 (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.0003087/0.125, allocations: 0.6149 MB / 0.5992 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.748e-05/0.1251, allocations: 12.02 kB / 0.5992 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1251, allocations: 0 / 0.5992 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.1251, allocations: 12 kB / 0.5992 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.1253, allocations: 3.984 kB / 0.5992 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.126, allocations: 1.091 MB / 0.6003 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.1262, allocations: 0.6768 MB / 0.6009 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.1262, allocations: 4.062 kB / 0.6009 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.1262, allocations: 15.31 kB / 0.601 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1263, allocations: 0 / 0.601 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.1411, allocations: 1.425 MB / 0.6024 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.182/6.323, allocations: 3.984 kB / 0.6024 GB, free: 0.8125 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw_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_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)