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.0008652/0.0008651, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0008902/0.0008902, allocations: 177.3 kB / 15.94 MB, free: 228 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.258/1.258, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9282/0.9282, allocations: 143.3 MB / 434.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002969, allocations: 8 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 83.41 MB / 0.5974 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001228/0.1416, allocations: 1.002 MB / 0.5983 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004318/0.142, allocations: 287.2 kB / 0.5986 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.142, allocations: 0 / 0.5986 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.1421, allocations: 7.938 kB / 0.5986 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.439e-05/0.1421, allocations: 7.969 kB / 0.5986 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.1423, allocations: 51.86 kB / 0.5987 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.143e-05/0.1424, allocations: 19.97 kB / 0.5987 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.1424, allocations: 4 kB / 0.5987 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1425, allocations: 47.89 kB / 0.5987 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.1426, allocations: 7.938 kB / 0.5988 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1426, allocations: 0 / 0.5988 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1428, allocations: 83.84 kB / 0.5988 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.1428, allocations: 3.938 kB / 0.5988 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.1428, allocations: 29.7 kB / 0.5989 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.726e-05/0.1429, allocations: 56.16 kB / 0.5989 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.1429, allocations: 0 / 0.5989 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1429, allocations: 0 / 0.5989 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.1429, allocations: 0 / 0.5989 GB, free: 6.191 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.0003164/0.1432, allocations: 347.2 kB / 0.5992 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.1433, allocations: 8.031 kB / 0.5993 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.1433, allocations: 30.56 kB / 0.5993 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.1433, allocations: 7.906 kB / 0.5993 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1435, allocations: 163 kB / 0.5994 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1435, allocations: 12 kB / 0.5995 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-06/0.1435, allocations: 0 / 0.5995 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.211e-05/0.1436, allocations: 37.62 kB / 0.5995 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.1436, allocations: 0 / 0.5995 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.1436, allocations: 4 kB / 0.5995 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1436, allocations: 0 / 0.5995 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.1437, allocations: 11.98 kB / 0.5995 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.1438, allocations: 165.7 kB / 0.5997 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/0.1439, allocations: 34.58 kB / 0.5997 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.1449, allocations: 1.187 MB / 0.6009 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1449, allocations: 38.5 kB / 0.6009 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1449, allocations: 0 / 0.6009 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001787/0.1451, allocations: 49.69 kB / 0.6009 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.1452, allocations: 51.41 kB / 0.601 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.255e-05/0.1452, allocations: 109.8 kB / 0.6011 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1452, allocations: 29.7 kB / 0.6011 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.1453, allocations: 84.08 kB / 0.6012 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.1453, allocations: 15.73 kB / 0.6012 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-06/0.1453, allocations: 3.938 kB / 0.6012 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.1454, allocations: 322.8 kB / 0.6015 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.1454, allocations: 4 kB / 0.6015 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.498e-05/0.1455, allocations: 7.938 kB / 0.6015 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.839e-05/0.1455, allocations: 7.984 kB / 0.6016 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1455, allocations: 0 / 0.6016 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001112/0.1456, allocations: 41.7 kB / 0.6016 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1456, allocations: 4 kB / 0.6016 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1456, allocations: 0 / 0.6016 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.1456, allocations: 0 / 0.6016 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.1457, allocations: 11.98 kB / 0.6016 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1457, allocations: 4 kB / 0.6016 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.1457, allocations: 0 / 0.6016 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.1457, allocations: 0 / 0.6016 GB, free: 2.949 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 6.567e-05/0.1458, allocations: 117.8 kB / 0.6017 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.1458, allocations: 3.906 kB / 0.6017 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.1459, allocations: 61.53 kB / 0.6018 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.146, allocations: 3.984 kB / 0.6018 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.146, allocations: 0 / 0.6018 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.146, allocations: 0 / 0.6018 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.541e-05/0.1461, allocations: 169.6 kB / 0.602 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1461, allocations: 0 / 0.602 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.1461, allocations: 4 kB / 0.602 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1461, allocations: 0 / 0.602 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.1461, allocations: 0 / 0.602 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1461, allocations: 320 / 0.602 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1461, allocations: 0 / 0.602 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.858e-05/0.1462, allocations: 77.06 kB / 0.602 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.1463, allocations: 92.95 kB / 0.6021 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1463, allocations: 4 kB / 0.6021 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.1464, allocations: 0 / 0.6021 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-06/0.1464, allocations: 0 / 0.6021 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.1464, allocations: 4 kB / 0.6021 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.1464, allocations: 91.19 kB / 0.6022 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1464, allocations: 0 / 0.6022 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002063/0.1467, allocations: 35.94 kB / 0.6022 GB, free: 2.188 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.0003812/0.147, allocations: 0.6363 MB / 0.6029 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.101e-05/0.1471, allocations: 19.98 kB / 0.6029 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1471, allocations: 0 / 0.6029 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.1471, allocations: 4 kB / 0.6029 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1473, allocations: 19.92 kB / 0.6029 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.1476, allocations: 168.2 kB / 0.6031 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.1479, allocations: 0.6809 MB / 0.6037 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.252e-05/0.1479, allocations: 8 kB / 0.6037 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.1479, allocations: 15.42 kB / 0.6038 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1479, allocations: 0 / 0.6038 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2428/0.3907, allocations: 1.402 MB / 0.6051 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001157/0.3909, allocations: 211 kB / 0.6053 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/1.935, allocations: 5.844 kB / 0.6053 GB, free: 39.92 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: