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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.0009851/0.0009847, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001474/0.001474, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.3 MB / 240 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.199/1.199, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004948, allocations: 11.98 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2093, allocations: 83.4 MB / 0.5975 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00154/0.2109, allocations: 1.014 MB / 0.5985 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000573/0.2115, allocations: 287.2 kB / 0.5988 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.2115, allocations: 0 / 0.5988 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.2115, allocations: 3.938 kB / 0.5988 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.61e-05/0.2116, allocations: 11.97 kB / 0.5988 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.2119, allocations: 59.8 kB / 0.5989 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.057e-05/0.212, allocations: 31.86 kB / 0.5989 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.142e-05/0.2121, allocations: 0 / 0.5989 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2122, allocations: 27.86 kB / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.2123, allocations: 4 kB / 0.5989 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2123, allocations: 0 / 0.5989 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.2125, allocations: 83.91 kB / 0.599 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.2125, allocations: 7.922 kB / 0.599 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.2125, allocations: 33.7 kB / 0.5991 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.2127, allocations: 52.16 kB / 0.5991 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.2127, allocations: 0 / 0.5991 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.875e-06/0.2127, allocations: 0 / 0.5991 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2127, allocations: 0 / 0.5991 GB, free: 6.117 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.0004059/0.2131, allocations: 339.3 kB / 0.5994 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.2132, allocations: 11.97 kB / 0.5994 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.2132, allocations: 38.56 kB / 0.5995 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.2133, allocations: 4 kB / 0.5995 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2134, allocations: 182.9 kB / 0.5997 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.2134, allocations: 3.938 kB / 0.5997 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.2134, allocations: 3.938 kB / 0.5997 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.2136, allocations: 41.69 kB / 0.5997 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.2136, allocations: 0 / 0.5997 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2136, allocations: 0 / 0.5997 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2136, allocations: 0 / 0.5997 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.2137, allocations: 4 kB / 0.5997 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.2139, allocations: 165.6 kB / 0.5999 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.638e-05/0.214, allocations: 38.55 kB / 0.5999 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.214, allocations: 12.92 kB / 0.5999 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.2152, allocations: 1.187 MB / 0.6011 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.2152, allocations: 30.56 kB / 0.6011 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2152, allocations: 4 kB / 0.6011 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001717/0.2154, allocations: 45.69 kB / 0.6011 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2154, allocations: 51.41 kB / 0.6012 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.2155, allocations: 113.8 kB / 0.6013 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2156, allocations: 29.7 kB / 0.6013 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.2156, allocations: 84.14 kB / 0.6014 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.2156, allocations: 15.69 kB / 0.6014 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.2156, allocations: 0 / 0.6014 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2158, allocations: 322.8 kB / 0.6017 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.2158, allocations: 0 / 0.6017 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.433e-05/0.2158, allocations: 8 kB / 0.6017 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.2158, allocations: 4 kB / 0.6017 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2158, allocations: 0 / 0.6017 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.747e-05/0.2159, allocations: 49.69 kB / 0.6018 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2159, allocations: 4 kB / 0.6018 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.216, allocations: 0 / 0.6018 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.216, allocations: 0 / 0.6018 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.216, allocations: 12 kB / 0.6018 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2161, allocations: 3.938 kB / 0.6018 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.2161, allocations: 3.984 kB / 0.6018 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.2161, allocations: 0 / 0.6018 GB, free: 2.852 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.112e-05/0.2162, allocations: 117.7 kB / 0.6019 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.2162, allocations: 8 kB / 0.6019 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.2163, allocations: 57.83 kB / 0.602 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2164, allocations: 4.031 kB / 0.602 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2164, allocations: 0 / 0.602 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2164, allocations: 0 / 0.602 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.2165, allocations: 165.6 kB / 0.6022 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2165, allocations: 0 / 0.6022 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.2166, allocations: 4 kB / 0.6022 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2166, allocations: 7.938 kB / 0.6022 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.2166, allocations: 0 / 0.6022 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2166, allocations: 4 kB / 0.6022 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2166, allocations: 0 / 0.6022 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.2167, allocations: 73.06 kB / 0.6022 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/0.2168, allocations: 92.95 kB / 0.6023 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.2168, allocations: 0 / 0.6023 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.053e-05/0.2169, allocations: 0 / 0.6023 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.2169, allocations: 8 kB / 0.6023 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.2169, allocations: 4 kB / 0.6023 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.217, allocations: 83.27 kB / 0.6024 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.217, allocations: 4 kB / 0.6024 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002449/0.2172, allocations: 27.94 kB / 0.6025 GB, free: 2.094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005806/0.2178, allocations: 0.6436 MB / 0.6031 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.2179, allocations: 15.98 kB / 0.6031 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.218, allocations: 0 / 0.6031 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/0.218, allocations: 8 kB / 0.6031 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.2182, allocations: 4 kB / 0.6031 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.2187, allocations: 176.2 kB / 0.6033 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.219, allocations: 0.6809 MB / 0.6039 GB, free: 484 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.855e-05/0.2191, allocations: 4 kB / 0.6039 GB, free: 480 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.2191, allocations: 11.44 kB / 0.604 GB, free: 468 kB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2191, allocations: 0 / 0.604 GB, free: 468 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3812/0.6003, allocations: 1.436 MB / 0.6054 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/0.6005, allocations: 214.3 kB / 0.6056 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.549, allocations: 0 / 0.6056 GB, free: 39.78 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) Environment - environmentSimulation: