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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7612/0.7612, allocations: 127.4 MB / 134.9 MB, free: 3.707 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 180.8 kB / 164.6 MB, free: 6.523 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.2 MB / 399.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 97.31 kB / 476.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.863e-05, allocations: 0 / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1686, allocations: 76.76 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5414/0.71, allocations: 101.9 MB / 0.7211 GB, free: 13.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.7103, allocations: 74.64 kB / 0.7212 GB, free: 13.42 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002278/0.7126, allocations: 0.8326 MB / 0.722 GB, free: 12.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.7126, allocations: 0 / 0.722 GB, free: 12.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.7126, allocations: 8 kB / 0.722 GB, free: 12.66 MB / 490.7 MB 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.0002992/0.7129, allocations: 328.8 kB / 0.7223 GB, free: 12.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.713, allocations: 8.969 kB / 0.7223 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.713, allocations: 3.953 kB / 0.7223 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.7132, allocations: 163.1 kB / 0.7225 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.7132, allocations: 0 / 0.7225 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.7132, allocations: 0 / 0.7225 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.685e-05/0.7133, allocations: 11.92 kB / 0.7225 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.334e-05/0.7134, allocations: 29.7 kB / 0.7225 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.7134, allocations: 4 kB / 0.7225 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.7134, allocations: 0 / 0.7225 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.7134, allocations: 0 / 0.7225 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.7136, allocations: 138 kB / 0.7227 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.01e-05/0.7137, allocations: 22.61 kB / 0.7227 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.7137, allocations: 7.266 kB / 0.7227 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006634/0.7144, allocations: 0.605 MB / 0.7233 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.7144, allocations: 35.06 kB / 0.7233 GB, free: 11.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7144, allocations: 0 / 0.7233 GB, free: 11.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002196/0.7146, allocations: 38.42 kB / 0.7234 GB, free: 11.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.7147, allocations: 51.41 kB / 0.7234 GB, free: 10.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/0.7148, allocations: 96.73 kB / 0.7235 GB, free: 10.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.7148, allocations: 25.7 kB / 0.7235 GB, free: 10.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.7148, allocations: 84.12 kB / 0.7236 GB, free: 10.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.7149, allocations: 11.84 kB / 0.7236 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.7149, allocations: 4.031 kB / 0.7236 GB, free: 10.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.715, allocations: 318.7 kB / 0.7239 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.715, allocations: 0 / 0.7239 GB, free: 10.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-06/0.7151, allocations: 4 kB / 0.7239 GB, free: 10.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.7151, allocations: 0 / 0.7239 GB, free: 10.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7151, allocations: 4 kB / 0.7239 GB, free: 10.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.264e-05/0.7152, allocations: 37.69 kB / 0.724 GB, free: 10.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7152, allocations: 4 kB / 0.724 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7152, allocations: 8.031 kB / 0.724 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.7152, allocations: 0 / 0.724 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.7153, allocations: 4 kB / 0.724 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.319e-06/0.7153, allocations: 7.875 kB / 0.724 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.7153, allocations: 3.906 kB / 0.724 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.7154, allocations: 3.812 kB / 0.724 GB, free: 10.33 MB / 490.7 MB 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 () * 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 7.882e-05/0.7154, allocations: 112.9 kB / 0.7241 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.376e-05/0.7155, allocations: 37.69 kB / 0.7241 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.7155, allocations: 0 / 0.7241 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.7156, allocations: 53.28 kB / 0.7242 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.7157, allocations: 0 / 0.7242 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7157, allocations: 4 kB / 0.7242 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7157, allocations: 0 / 0.7242 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.446e-05/0.7158, allocations: 130.2 kB / 0.7243 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7158, allocations: 0 / 0.7243 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.7158, allocations: 7.984 kB / 0.7243 GB, free: 9.945 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.7158, allocations: 0 / 0.7243 GB, free: 9.945 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.7158, allocations: 4 kB / 0.7243 GB, free: 9.941 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7158, allocations: 0 / 0.7243 GB, free: 9.941 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7158, allocations: 4.031 kB / 0.7243 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.582e-05/0.7159, allocations: 60.91 kB / 0.7244 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.716, allocations: 85 kB / 0.7245 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.716, allocations: 7.938 kB / 0.7245 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.561e-05/0.716, allocations: 0 / 0.7245 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.7161, allocations: 0 / 0.7245 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.7161, allocations: 0 / 0.7245 GB, free: 9.754 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.87e-05/0.7161, allocations: 91.06 kB / 0.7246 GB, free: 9.668 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7161, allocations: 0 / 0.7246 GB, free: 9.668 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.7163, allocations: 16 kB / 0.7246 GB, free: 9.652 MB / 490.7 MB 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 () * 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.0004197/0.7168, allocations: 0.6083 MB / 0.7252 GB, free: 9.016 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.347e-05/0.7169, allocations: 12.03 kB / 0.7252 GB, free: 9.004 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7169, allocations: 0 / 0.7252 GB, free: 9.004 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.7169, allocations: 7.938 kB / 0.7252 GB, free: 8.996 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.7171, allocations: 7.984 kB / 0.7252 GB, free: 8.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.7174, allocations: 92.12 kB / 0.7253 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.7177, allocations: 0.6807 MB / 0.726 GB, free: 8.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.148e-05/0.7177, allocations: 4.125 kB / 0.726 GB, free: 8.156 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.7178, allocations: 7.438 kB / 0.726 GB, free: 8.148 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7178, allocations: 4 kB / 0.726 GB, free: 8.145 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.7391, allocations: 0.9105 MB / 0.7269 GB, free: 7.242 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/0.7395, allocations: 155.3 kB / 0.727 GB, free: 7.051 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.264, allocations: 0 / 0.727 GB, free: 7.051 MB / 490.7 MB (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)