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.7428/0.7428, allocations: 127.3 MB / 139.8 MB, free: 15.5 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 184.8 kB / 169.7 MB, free: 1.75 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.843/1.843, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.0008604/0.0008606, allocations: 81.88 kB / 481.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.341e-05, allocations: 4 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1544, allocations: 76.76 MB / 0.6283 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5372/0.6917, allocations: 102.2 MB / 0.7281 GB, free: 11.14 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.6919, allocations: 81.25 kB / 0.7282 GB, free: 11.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002257/0.6942, allocations: 0.8314 MB / 0.729 GB, free: 10.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6942, allocations: 0 / 0.729 GB, free: 10.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.6942, allocations: 0 / 0.729 GB, free: 10.32 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.0003563/0.6946, allocations: 332.4 kB / 0.7293 GB, free: 9.961 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.6947, allocations: 8.031 kB / 0.7293 GB, free: 9.953 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.6947, allocations: 30.56 kB / 0.7293 GB, free: 9.914 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.6948, allocations: 3.953 kB / 0.7293 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.695, allocations: 167 kB / 0.7295 GB, free: 9.707 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.695, allocations: 0 / 0.7295 GB, free: 9.707 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/0.695, allocations: 0 / 0.7295 GB, free: 9.707 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/0.6951, allocations: 37.5 kB / 0.7295 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.6951, allocations: 0 / 0.7295 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.6951, allocations: 0 / 0.7295 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6951, allocations: 4 kB / 0.7295 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.611e-05/0.6952, allocations: 7.953 kB / 0.7296 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.6953, allocations: 153.4 kB / 0.7297 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/0.6954, allocations: 30.53 kB / 0.7297 GB, free: 9.422 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.6954, allocations: 8.609 kB / 0.7297 GB, free: 9.414 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007083/0.6961, allocations: 0.6059 MB / 0.7303 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.6962, allocations: 34.56 kB / 0.7304 GB, free: 8.637 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.6962, allocations: 0 / 0.7304 GB, free: 8.637 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001382/0.6964, allocations: 37.92 kB / 0.7304 GB, free: 8.598 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.6964, allocations: 51.41 kB / 0.7304 GB, free: 8.535 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.345e-05/0.6965, allocations: 91.19 kB / 0.7305 GB, free: 8.441 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.6965, allocations: 25.7 kB / 0.7306 GB, free: 8.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.6966, allocations: 96 kB / 0.7307 GB, free: 8.316 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.6966, allocations: 7.844 kB / 0.7307 GB, free: 8.309 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-06/0.6966, allocations: 32 / 0.7307 GB, free: 8.309 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6968, allocations: 325.5 kB / 0.731 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.6968, allocations: 4 kB / 0.731 GB, free: 7.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.6968, allocations: 0 / 0.731 GB, free: 7.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.6969, allocations: 7.875 kB / 0.731 GB, free: 7.977 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.6969, allocations: 0 / 0.731 GB, free: 7.977 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.291e-05/0.6969, allocations: 37.69 kB / 0.731 GB, free: 7.934 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.697, allocations: 4 kB / 0.731 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.697, allocations: 6.625 kB / 0.731 GB, free: 7.926 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.697, allocations: 4.094 kB / 0.731 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.663e-05/0.6971, allocations: 0 / 0.731 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6971, allocations: 4 kB / 0.731 GB, free: 7.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.6971, allocations: 3.906 kB / 0.731 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.6971, allocations: 0 / 0.731 GB, free: 7.914 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.923e-05/0.6972, allocations: 108.9 kB / 0.7311 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-06/0.6972, allocations: 0 / 0.7311 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.6973, allocations: 55.75 kB / 0.7312 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.6973, allocations: 4.031 kB / 0.7312 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6974, allocations: 0 / 0.7312 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.6974, allocations: 0 / 0.7312 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.6975, allocations: 153.6 kB / 0.7313 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.6975, allocations: 0 / 0.7313 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.6975, allocations: 4 kB / 0.7313 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.6976, allocations: 0 / 0.7313 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.6976, allocations: 0 / 0.7313 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6976, allocations: 0 / 0.7313 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6976, allocations: 0 / 0.7313 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.6977, allocations: 76.83 kB / 0.7314 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.6978, allocations: 77.11 kB / 0.7315 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.6978, allocations: 0 / 0.7315 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.831e-05/0.6978, allocations: 4.812 kB / 0.7315 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.6978, allocations: 3.984 kB / 0.7315 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.6978, allocations: 4 kB / 0.7315 GB, free: 7.352 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.839e-05/0.6979, allocations: 75.28 kB / 0.7316 GB, free: 7.277 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6979, allocations: 4 kB / 0.7316 GB, free: 7.273 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.6981, allocations: 16.03 kB / 0.7316 GB, free: 7.258 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.0004752/0.6986, allocations: 0.6196 MB / 0.7322 GB, free: 6.613 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.008e-05/0.6987, allocations: 11 kB / 0.7322 GB, free: 6.605 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6987, allocations: 0 / 0.7322 GB, free: 6.605 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.6987, allocations: 12.08 kB / 0.7322 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.6989, allocations: 11.12 kB / 0.7322 GB, free: 6.586 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.6992, allocations: 95.02 kB / 0.7323 GB, free: 6.461 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.6995, allocations: 0.6809 MB / 0.733 GB, free: 5.754 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.94e-05/0.6995, allocations: 4.484 kB / 0.733 GB, free: 5.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.6996, allocations: 15.5 kB / 0.733 GB, free: 5.734 MB / 490.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6996, allocations: 0 / 0.733 GB, free: 5.734 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.711, allocations: 1.211 MB / 0.7342 GB, free: 4.652 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.7113, allocations: 180.6 kB / 0.7344 GB, free: 4.418 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.342, allocations: 0 / 0.7344 GB, free: 4.418 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)