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.0008554/0.0008555, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005185/0.005185, allocations: 168.9 kB / 16.26 MB, free: 6.648 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 / 240.3 MB, free: 5.336 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.8634/0.8634, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002783, allocations: 12 kB / 0.5165 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.124, allocations: 83.42 MB / 0.598 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001071/0.1251, allocations: 0.9828 MB / 0.5989 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002583/0.1254, allocations: 127.6 kB / 0.5991 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.086e-05/0.1254, allocations: 0 / 0.5991 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.1254, allocations: 0 / 0.5991 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.1255, allocations: 11.91 kB / 0.5991 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.1256, allocations: 23.91 kB / 0.5991 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.814e-05/0.1257, allocations: 15.94 kB / 0.5991 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.1257, allocations: 0 / 0.5991 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.673e-05/0.1258, allocations: 8 kB / 0.5991 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.1258, allocations: 11.92 kB / 0.5991 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.1258, allocations: 0 / 0.5991 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1259, allocations: 51.94 kB / 0.5992 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.1259, allocations: 3.984 kB / 0.5992 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.126, allocations: 33.64 kB / 0.5992 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.32e-05/0.1261, allocations: 35.95 kB / 0.5992 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1261, allocations: 0 / 0.5992 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1261, allocations: 0 / 0.5992 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.755e-06/0.1261, allocations: 0 / 0.5992 GB, free: 6.227 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.0002668/0.1264, allocations: 327.8 kB / 0.5996 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1264, allocations: 15.97 kB / 0.5996 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.445e-05/0.1264, allocations: 30.75 kB / 0.5996 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.882e-05/0.1264, allocations: 4.844 kB / 0.5996 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.661e-05/0.1265, allocations: 168.4 kB / 0.5998 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-06/0.1266, allocations: 384 / 0.5998 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1266, allocations: 4.375 kB / 0.5998 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.92e-05/0.1266, allocations: 37.58 kB / 0.5998 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.678e-06/0.1266, allocations: 4 kB / 0.5998 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.1267, allocations: 0 / 0.5998 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1267, allocations: 0 / 0.5998 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.6e-05/0.1267, allocations: 4 kB / 0.5998 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.1268, allocations: 157.6 kB / 0.6 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.938e-05/0.1269, allocations: 22.58 kB / 0.6 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.1269, allocations: 12.92 kB / 0.6 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/0.1275, allocations: 0.6207 MB / 0.6006 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.1275, allocations: 30.56 kB / 0.6006 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1275, allocations: 0 / 0.6006 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001043/0.1276, allocations: 45.69 kB / 0.6007 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1276, allocations: 51.41 kB / 0.6007 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.881e-05/0.1277, allocations: 93.98 kB / 0.6008 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.1277, allocations: 33.7 kB / 0.6009 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.1277, allocations: 80.14 kB / 0.6009 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.1278, allocations: 11.88 kB / 0.6009 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.1278, allocations: 13.72 kB / 0.601 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.209e-05/0.1279, allocations: 310.8 kB / 0.6013 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.1279, allocations: 4 kB / 0.6013 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-06/0.1279, allocations: 7.938 kB / 0.6013 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.1279, allocations: 12.92 kB / 0.6013 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1279, allocations: 0 / 0.6013 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.377e-05/0.128, allocations: 45.62 kB / 0.6013 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.128, allocations: 8 kB / 0.6013 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.128, allocations: 0 / 0.6013 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.128, allocations: 0 / 0.6013 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.831e-05/0.1281, allocations: 4 kB / 0.6013 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1281, allocations: 0 / 0.6013 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.1281, allocations: 4 kB / 0.6013 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.1281, allocations: 0 / 0.6013 GB, free: 3.73 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.236e-05/0.1282, allocations: 121.8 kB / 0.6014 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.1282, allocations: 7.844 kB / 0.6015 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.131e-05/0.1283, allocations: 44.81 kB / 0.6015 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1283, allocations: 0 / 0.6015 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1283, allocations: 0 / 0.6015 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.1283, allocations: 3.938 kB / 0.6015 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.266e-05/0.1284, allocations: 153.7 kB / 0.6016 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1284, allocations: 3.938 kB / 0.6017 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.1284, allocations: 4 kB / 0.6017 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1284, allocations: 7.969 kB / 0.6017 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-06/0.1284, allocations: 0 / 0.6017 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1284, allocations: 0 / 0.6017 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1284, allocations: 8.172 kB / 0.6017 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.203e-05/0.1285, allocations: 61.08 kB / 0.6017 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.1285, allocations: 85.03 kB / 0.6018 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-06/0.1286, allocations: 0 / 0.6018 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.848e-05/0.1286, allocations: 12.02 kB / 0.6018 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-06/0.1286, allocations: 0 / 0.6018 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.1286, allocations: 0 / 0.6018 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.1286, allocations: 83.28 kB / 0.6019 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1286, allocations: 0 / 0.6019 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001766/0.1288, allocations: 16 kB / 0.6019 GB, free: 3.031 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.000292/0.1291, allocations: 0.6202 MB / 0.6025 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.117e-05/0.1292, allocations: 8 kB / 0.6025 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1292, allocations: 0 / 0.6025 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.848e-06/0.1292, allocations: 4 kB / 0.6025 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.1294, allocations: 4 kB / 0.6025 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.1301, allocations: 1.096 MB / 0.6036 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.1303, allocations: 0.6771 MB / 0.6043 GB, free: 492 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.1303, allocations: 3.984 kB / 0.6043 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.1303, allocations: 11.44 kB / 0.6043 GB, free: 476 kB / 0.4981 GB Notification: Performance of SimCode: time 1.293e-06/0.1303, allocations: 3.938 kB / 0.6043 GB, free: 472 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6479/0.7782, allocations: 1.233 MB / 0.6055 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/0.7784, allocations: 217.7 kB / 0.6057 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.307, allocations: 0 / 0.6057 GB, free: 40.3 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)