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.001172/0.001172, 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.001163/0.001163, 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.9118/0.9118, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 60.05 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1247, allocations: 82.04 MB / 0.5944 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002148/0.1268, allocations: 1.256 MB / 0.5956 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002592/0.1271, allocations: 127.5 kB / 0.5957 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.1271, allocations: 4 kB / 0.5957 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.1272, allocations: 0 / 0.5957 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.1272, allocations: 4 kB / 0.5957 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.1274, allocations: 43.75 kB / 0.5958 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.687e-05/0.1275, allocations: 19.92 kB / 0.5958 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.1275, allocations: 0 / 0.5958 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.711e-05/0.1275, allocations: 4 kB / 0.5958 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.336e-05/0.1276, allocations: 7.938 kB / 0.5958 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1276, allocations: 4 kB / 0.5958 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1277, allocations: 51.94 kB / 0.5959 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.1277, allocations: 0 / 0.5959 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.1278, allocations: 11.92 kB / 0.5959 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.492e-05/0.1279, allocations: 39.95 kB / 0.5959 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1279, allocations: 3.984 kB / 0.5959 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.716e-06/0.1279, allocations: 0 / 0.5959 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.1279, allocations: 0 / 0.5959 GB, free: 7.914 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.0003164/0.1282, allocations: 329.8 kB / 0.5962 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1283, allocations: 16.03 kB / 0.5963 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.1283, allocations: 34.75 kB / 0.5963 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.975e-05/0.1283, allocations: 0.9375 kB / 0.5963 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1284, allocations: 160.4 kB / 0.5964 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1284, allocations: 8.312 kB / 0.5964 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-06/0.1285, allocations: 384 / 0.5964 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.006e-05/0.1285, allocations: 37.62 kB / 0.5965 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1285, allocations: 0 / 0.5965 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.1285, allocations: 3.938 kB / 0.5965 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1286, allocations: 4 kB / 0.5965 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.534e-05/0.1286, allocations: 4 kB / 0.5965 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.1287, allocations: 153.7 kB / 0.5966 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.299e-05/0.1288, allocations: 26.52 kB / 0.5967 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.1288, allocations: 8.922 kB / 0.5967 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006207/0.1294, allocations: 0.6051 MB / 0.5973 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1294, allocations: 42.56 kB / 0.5973 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1294, allocations: 0 / 0.5973 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001119/0.1296, allocations: 33.7 kB / 0.5973 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.1296, allocations: 51.41 kB / 0.5974 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.435e-05/0.1297, allocations: 101.8 kB / 0.5975 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.1297, allocations: 25.7 kB / 0.5975 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.1297, allocations: 84.14 kB / 0.5976 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1297, allocations: 4.031 kB / 0.5976 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.1298, allocations: 21.66 kB / 0.5976 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.1298, allocations: 318.8 kB / 0.5979 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.1299, allocations: 0 / 0.5979 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-06/0.1299, allocations: 4 kB / 0.5979 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.1299, allocations: 12.86 kB / 0.5979 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1299, allocations: 3.938 kB / 0.5979 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.621e-05/0.13, allocations: 37.73 kB / 0.598 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.13, allocations: 14.5 kB / 0.598 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.13, allocations: 0 / 0.598 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.467e-06/0.13, allocations: 0 / 0.598 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.35e-05/0.1301, allocations: 7.984 kB / 0.598 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1301, allocations: 3.938 kB / 0.598 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.1301, allocations: 0 / 0.598 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.1301, allocations: 0 / 0.598 GB, free: 5.43 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.575e-05/0.1302, allocations: 113.8 kB / 0.5981 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.1302, allocations: 11.84 kB / 0.5981 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.783e-05/0.1303, allocations: 48.81 kB / 0.5982 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1303, allocations: 0 / 0.5982 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1303, allocations: 0 / 0.5982 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1303, allocations: 0 / 0.5982 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.043e-05/0.1304, allocations: 161.6 kB / 0.5983 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1304, allocations: 3.938 kB / 0.5983 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.1304, allocations: 4 kB / 0.5983 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1304, allocations: 0 / 0.5983 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1304, allocations: 4.188 kB / 0.5983 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1304, allocations: 0 / 0.5983 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1304, allocations: 7.969 kB / 0.5983 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.732e-05/0.1305, allocations: 69.11 kB / 0.5984 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.1305, allocations: 81.05 kB / 0.5985 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.1306, allocations: 0 / 0.5985 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.626e-05/0.1306, allocations: 0 / 0.5985 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.1306, allocations: 4 kB / 0.5985 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.1306, allocations: 0 / 0.5985 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.88e-05/0.1306, allocations: 87.3 kB / 0.5986 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1306, allocations: 0 / 0.5986 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001871/0.1308, allocations: 16 kB / 0.5986 GB, free: 4.73 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.0003135/0.1311, allocations: 0.6124 MB / 0.5992 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.531e-05/0.1312, allocations: 16.02 kB / 0.5992 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1312, allocations: 0 / 0.5992 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.1312, allocations: 4 kB / 0.5992 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.1314, allocations: 8 kB / 0.5992 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007762/0.1322, allocations: 1.099 MB / 0.6003 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.1324, allocations: 0.6729 MB / 0.6009 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.1324, allocations: 8.062 kB / 0.6009 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.1325, allocations: 7.438 kB / 0.601 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1325, allocations: 0 / 0.601 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9088/1.041, allocations: 1.43 MB / 0.6024 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.68, allocations: 0 / 0.6024 GB, free: 0.8281 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)