Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_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.05662/0.05662, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.046/0.046, allocations: 191.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 15.9/15.9, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 286.6 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.127/1.127, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001707, allocations: 96 kB / 0.5948 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2111, allocations: 86.98 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.8261/1.037, allocations: 190.1 MB / 0.8654 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009007/1.046, allocations: 4.012 MB / 0.8693 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/1.048, allocations: 24.59 kB / 0.8693 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/1.05, allocations: 411 kB / 0.8697 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005272/1.055, allocations: 1.442 MB / 0.8711 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004363/1.06, allocations: 1.256 MB / 0.8724 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003631/1.063, allocations: 1.643 MB / 0.874 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/1.065, allocations: 0.9347 MB / 0.8749 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/1.067, allocations: 0.9382 MB / 0.8758 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/1.068, allocations: 0.89 MB / 0.8767 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/1.069, allocations: 94.84 kB / 0.8768 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/1.072, allocations: 1.359 MB / 0.8781 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004308/1.072, allocations: 356.3 kB / 0.8784 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006669/1.073, allocations: 0.5052 MB / 0.8789 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003395/1.076, allocations: 1.737 MB / 0.8806 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.076, allocations: 0 / 0.8806 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/1.076, allocations: 2.531 kB / 0.8806 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.547e-05/1.076, allocations: 0 / 0.8806 GB, free: 6.008 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003274/1.08, allocations: 1.45 MB / 0.882 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.08, allocations: 7.688 kB / 0.882 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/1.08, allocations: 92.83 kB / 0.8821 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/1.082, allocations: 242.1 kB / 0.8824 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009155/1.082, allocations: 0.5886 MB / 0.8829 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/1.083, allocations: 39.25 kB / 0.883 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/1.083, allocations: 53.8 kB / 0.883 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/1.084, allocations: 0.9577 MB / 0.884 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/1.084, allocations: 6.562 kB / 0.884 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/1.084, allocations: 23.47 kB / 0.884 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/1.084, allocations: 24.05 kB / 0.884 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/1.086, allocations: 0.9427 MB / 0.8849 GB, free: 3.047 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005583/1.091, allocations: 4.252 MB / 0.8891 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009569/1.092, allocations: 0.6113 MB / 0.8897 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007735/1.093, allocations: 0.5156 MB / 0.8902 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/1.094, allocations: 0.8763 MB / 0.891 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.094, allocations: 40.06 kB / 0.8911 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001772/1.096, allocations: 461.4 kB / 0.8915 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 2.985e-06/1.096, allocations: 0 / 0.8915 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01736/1.114, allocations: 3.837 MB / 0.8953 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/1.114, allocations: 59.84 kB / 0.8953 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/1.115, allocations: 0.7155 MB / 0.896 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001928/1.115, allocations: 33.7 kB / 0.8961 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/1.115, allocations: 320.6 kB / 0.8964 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/1.115, allocations: 181.3 kB / 0.8965 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/1.116, allocations: 150 kB / 0.8967 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.116, allocations: 326 kB / 0.897 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/1.116, allocations: 392.9 kB / 0.8974 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007214/1.117, allocations: 489.5 kB / 0.8978 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/1.119, allocations: 0.918 MB / 0.8987 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.119, allocations: 0 / 0.8987 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01116/1.13, allocations: 2.568 MB / 0.9012 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.13, allocations: 11.94 kB / 0.9012 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.13, allocations: 0 / 0.9012 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009518/1.139, allocations: 1.73 MB / 0.9029 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/1.14, allocations: 95.86 kB / 0.903 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.153, allocations: 7.145 MB / 0.91 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/1.154, allocations: 35.97 kB / 0.91 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/1.154, allocations: 43.94 kB / 0.9101 GB, free: 10.89 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005498/1.155, allocations: 202.4 kB / 0.9103 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/1.155, allocations: 90.95 kB / 0.9104 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005243/1.16, allocations: 1.738 MB / 0.9121 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.16, allocations: 11.94 kB / 0.9121 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/1.16, allocations: 0 / 0.9121 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.16, allocations: 3.984 kB / 0.9121 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006644/1.167, allocations: 2.54 MB / 0.9145 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.167, allocations: 0 / 0.9145 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/1.168, allocations: 87.89 kB / 0.9146 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003484/1.171, allocations: 0.8017 MB / 0.9154 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/1.171, allocations: 16 kB / 0.9154 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007051/1.178, allocations: 4.863 MB / 0.9202 GB, free: 160 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.178, allocations: 3.938 kB / 0.9202 GB, free: 156 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00549/1.184, allocations: 2.151 MB / 0.9223 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006539/1.184, allocations: 235.9 kB / 0.9225 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/1.185, allocations: 12 kB / 0.9225 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/1.185, allocations: 35.97 kB / 0.9226 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/1.186, allocations: 52.44 kB / 0.9226 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/1.186, allocations: 19.94 kB / 0.9226 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007764/1.186, allocations: 0.5029 MB / 0.9231 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.31e-07/1.186, allocations: 0 / 0.9231 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001266/1.188, allocations: 283.8 kB / 0.9234 GB, free: 12.82 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006155/1.194, allocations: 2.806 MB / 0.9261 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003975/1.198, allocations: 1.517 MB / 0.9276 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/1.198, allocations: 0 / 0.9276 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/1.2, allocations: 0.9263 MB / 0.9285 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/1.202, allocations: 455.5 kB / 0.9289 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03212/1.234, allocations: 10.92 MB / 0.9396 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/1.235, allocations: 0.9828 MB / 0.9406 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008201/1.236, allocations: 154.6 kB / 0.9407 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/1.236, allocations: 283.3 kB / 0.941 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of SimCode: time 8.22e-07/1.236, allocations: 4 kB / 0.941 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1217/1.358, allocations: 29.36 MB / 0.9697 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/1.359, allocations: 267.9 kB / 0.9699 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.873, allocations: 0 / 0.9699 GB, free: 13.23 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)