Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7812/0.7812, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 189.9 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 441.4 MB, free: 4.66 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.001, allocations: 94.3 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001757, allocations: 273.7 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.049e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4589, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.5822, allocations: 108.3 MB / 0.8702 GB, free: 216 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.5825, allocations: 82.22 kB / 0.8702 GB, free: 136 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002556/0.5851, allocations: 0.8397 MB / 0.8711 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.859e-06/0.5851, allocations: 0 / 0.8711 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.5851, allocations: 3.938 kB / 0.8711 GB, free: 15.3 MB / 0.5417 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.0003297/0.5855, allocations: 327.5 kB / 0.8714 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/0.5855, allocations: 12.03 kB / 0.8714 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.5856, allocations: 30.56 kB / 0.8714 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.5856, allocations: 3.344 kB / 0.8714 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.5858, allocations: 167 kB / 0.8716 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.5858, allocations: 7.953 kB / 0.8716 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.5859, allocations: 0 / 0.8716 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.642e-05/0.586, allocations: 29.7 kB / 0.8716 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.586, allocations: 0 / 0.8716 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.586, allocations: 4 kB / 0.8716 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.586, allocations: 0 / 0.8716 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.208e-05/0.586, allocations: 11.94 kB / 0.8716 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.5863, allocations: 153.7 kB / 0.8718 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.5863, allocations: 22.53 kB / 0.8718 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.5864, allocations: 8.922 kB / 0.8718 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/0.587, allocations: 0.6052 MB / 0.8724 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.5871, allocations: 34.56 kB / 0.8724 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.5871, allocations: 0 / 0.8724 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001644/0.5873, allocations: 45.53 kB / 0.8725 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.5873, allocations: 51.41 kB / 0.8725 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.5874, allocations: 93 kB / 0.8726 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.5874, allocations: 25.7 kB / 0.8726 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.5875, allocations: 80.14 kB / 0.8727 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.5875, allocations: 3.938 kB / 0.8727 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.5875, allocations: 0 / 0.8727 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5877, allocations: 322.9 kB / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.5877, allocations: 0 / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.5877, allocations: 4 kB / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.792e-05/0.5877, allocations: 3.984 kB / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5877, allocations: 4 kB / 0.873 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.495e-05/0.5878, allocations: 41.56 kB / 0.8731 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.5878, allocations: 9.188 kB / 0.8731 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5879, allocations: 0 / 0.8731 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.5879, allocations: 8.031 kB / 0.8731 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.5879, allocations: 12 kB / 0.8731 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.588, allocations: 0 / 0.8731 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.588, allocations: 0 / 0.8731 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.588, allocations: 11.92 kB / 0.8731 GB, free: 12.86 MB / 0.5417 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 () * 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.356e-05/0.5881, allocations: 101 kB / 0.8732 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.5881, allocations: 3.953 kB / 0.8732 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.5882, allocations: 40.83 kB / 0.8732 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5882, allocations: 4.016 kB / 0.8732 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.5882, allocations: 8 kB / 0.8733 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.5882, allocations: 0 / 0.8733 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.5884, allocations: 141.7 kB / 0.8734 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5884, allocations: 4 kB / 0.8734 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.5884, allocations: 7.922 kB / 0.8734 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5884, allocations: 0 / 0.8734 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5884, allocations: 11.95 kB / 0.8734 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5885, allocations: 0 / 0.8734 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5885, allocations: 0 / 0.8734 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.118e-05/0.5886, allocations: 61.33 kB / 0.8735 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.5886, allocations: 89.08 kB / 0.8736 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.5886, allocations: 0 / 0.8736 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.5887, allocations: 3.953 kB / 0.8736 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.5887, allocations: 0 / 0.8736 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.5887, allocations: 0 / 0.8736 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.194e-05/0.5887, allocations: 79.28 kB / 0.8736 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5887, allocations: 0 / 0.8736 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002111/0.589, allocations: 20.03 kB / 0.8737 GB, free: 12.2 MB / 0.5417 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 () * 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.0004635/0.5894, allocations: 0.624 MB / 0.8743 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.13e-05/0.5895, allocations: 8 kB / 0.8743 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5895, allocations: 0 / 0.8743 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/0.5895, allocations: 8.094 kB / 0.8743 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.5897, allocations: 11.89 kB / 0.8743 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.59, allocations: 90.89 kB / 0.8744 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.5903, allocations: 0.6809 MB / 0.875 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.5904, allocations: 0 / 0.875 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.5904, allocations: 11.44 kB / 0.8751 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.5904, allocations: 4.062 kB / 0.8751 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.6083, allocations: 1.215 MB / 0.8762 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.6086, allocations: 171 kB / 0.8764 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.121, allocations: 7.5 kB / 0.8764 GB, free: 9.402 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)