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.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.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.0008618/0.0008619, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001025/0.001025, allocations: 168.7 kB / 15.95 MB, free: 204 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.53/1.53, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.151/1.151, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2505, allocations: 83.41 MB / 0.5975 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001572/0.2521, allocations: 0.9828 MB / 0.5985 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003321/0.2525, allocations: 103.8 kB / 0.5986 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.2525, allocations: 0 / 0.5986 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.2526, allocations: 11.86 kB / 0.5986 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.953e-05/0.2527, allocations: 4 kB / 0.5986 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.2529, allocations: 35.83 kB / 0.5987 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.8e-05/0.253, allocations: 11.94 kB / 0.5987 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.253, allocations: 0 / 0.5987 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.2531, allocations: 7.984 kB / 0.5987 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.2531, allocations: 7.938 kB / 0.5987 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.2532, allocations: 0 / 0.5987 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.2533, allocations: 51.94 kB / 0.5987 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.707e-06/0.2533, allocations: 0 / 0.5987 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.2533, allocations: 29.7 kB / 0.5988 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.424e-05/0.2534, allocations: 23.95 kB / 0.5988 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.2535, allocations: 0 / 0.5988 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2535, allocations: 0 / 0.5988 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2535, allocations: 4 kB / 0.5988 GB, free: 6.406 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.0004326/0.2539, allocations: 327.6 kB / 0.5991 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.254, allocations: 12.03 kB / 0.5991 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.254, allocations: 30.56 kB / 0.5991 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.2541, allocations: 3.906 kB / 0.5991 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.2542, allocations: 167 kB / 0.5993 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2543, allocations: 4 kB / 0.5993 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.2543, allocations: 0 / 0.5993 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.62e-05/0.2544, allocations: 41.69 kB / 0.5993 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.2544, allocations: 0 / 0.5993 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2544, allocations: 3.984 kB / 0.5993 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2544, allocations: 0 / 0.5993 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.976e-05/0.2545, allocations: 4 kB / 0.5994 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.2546, allocations: 157.7 kB / 0.5995 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.019e-05/0.2547, allocations: 22.52 kB / 0.5995 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.2547, allocations: 16.92 kB / 0.5995 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007707/0.2555, allocations: 0.613 MB / 0.6001 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.2556, allocations: 30.56 kB / 0.6002 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.2556, allocations: 0 / 0.6002 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.2557, allocations: 37.7 kB / 0.6002 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.2558, allocations: 59.52 kB / 0.6003 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.2559, allocations: 101.8 kB / 0.6004 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.2559, allocations: 25.7 kB / 0.6004 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.2559, allocations: 80.14 kB / 0.6005 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.256, allocations: 11.84 kB / 0.6005 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.256, allocations: 0 / 0.6005 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2561, allocations: 322.8 kB / 0.6008 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.2561, allocations: 0 / 0.6008 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-06/0.2561, allocations: 7.938 kB / 0.6008 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.827e-05/0.2562, allocations: 8.062 kB / 0.6008 GB, free: 4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2562, allocations: 0 / 0.6008 GB, free: 4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.953e-05/0.2562, allocations: 33.7 kB / 0.6008 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2563, allocations: 9.875 kB / 0.6008 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2563, allocations: 0 / 0.6008 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2563, allocations: 0 / 0.6008 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.2564, allocations: 7.984 kB / 0.6008 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2564, allocations: 0 / 0.6008 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.2564, allocations: 0 / 0.6008 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.2564, allocations: 0 / 0.6008 GB, free: 3.945 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/0.2565, allocations: 129.7 kB / 0.601 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.2565, allocations: 0 / 0.601 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.2566, allocations: 44.81 kB / 0.601 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2566, allocations: 0 / 0.601 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2566, allocations: 0 / 0.601 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2566, allocations: 0 / 0.601 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.2568, allocations: 157.5 kB / 0.6012 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2568, allocations: 0 / 0.6012 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.2568, allocations: 8.031 kB / 0.6012 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2568, allocations: 0 / 0.6012 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2568, allocations: 4 kB / 0.6012 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2568, allocations: 0 / 0.6012 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2568, allocations: 0 / 0.6012 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.529e-05/0.2569, allocations: 69.06 kB / 0.6012 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.257, allocations: 85.06 kB / 0.6013 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.257, allocations: 0 / 0.6013 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.628e-05/0.257, allocations: 4.031 kB / 0.6013 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.257, allocations: 4 kB / 0.6013 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.257, allocations: 3.938 kB / 0.6013 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.827e-05/0.2571, allocations: 83.27 kB / 0.6014 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2571, allocations: 0 / 0.6014 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002119/0.2573, allocations: 16 kB / 0.6014 GB, free: 3.25 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 (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.000455/0.2578, allocations: 0.6124 MB / 0.602 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.81e-05/0.2579, allocations: 8 kB / 0.602 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2579, allocations: 0 / 0.602 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.339e-05/0.2579, allocations: 7.984 kB / 0.602 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.2582, allocations: 11.94 kB / 0.602 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.2588, allocations: 344.6 kB / 0.6024 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.259, allocations: 0.677 MB / 0.603 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.259, allocations: 3.984 kB / 0.603 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.2591, allocations: 11.44 kB / 0.6031 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.2591, allocations: 4.062 kB / 0.6031 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.2709, allocations: 1.235 MB / 0.6043 GB, free: 400 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.2711, allocations: 200.3 kB / 0.6045 GB, free: 156 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.055, allocations: 0 / 0.6045 GB, free: 156 kB / 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/linux/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) Environment - environmentSimulation: