Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_Buildings_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.0007484/0.0007485, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008181/0.0008181, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.518/1.518, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004762, allocations: 15.06 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1941, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001027/0.1952, allocations: 0.9665 MB / 0.7883 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002036/0.1954, allocations: 111.7 kB / 0.7885 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.1954, allocations: 4 kB / 0.7885 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.1955, allocations: 0 / 0.7885 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.074e-05/0.1955, allocations: 7.938 kB / 0.7885 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.1957, allocations: 31.94 kB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.224e-05/0.1957, allocations: 7.938 kB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.1958, allocations: 0 / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.742e-05/0.1958, allocations: 7.938 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.1958, allocations: 7.984 kB / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.1959, allocations: 0 / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.196, allocations: 47.95 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.183e-06/0.196, allocations: 4 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.196, allocations: 33.64 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.665e-05/0.1961, allocations: 24.17 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1961, allocations: 0 / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1961, allocations: 4 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.1961, allocations: 0 / 0.7886 GB, free: 10.55 MB / 0.6075 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.0002996/0.1964, allocations: 331.3 kB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1965, allocations: 8.031 kB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.1965, allocations: 30.56 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.725e-05/0.1965, allocations: 7.984 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1967, allocations: 167 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1967, allocations: 3.938 kB / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-06/0.1967, allocations: 0 / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.595e-05/0.1967, allocations: 33.7 kB / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.1968, allocations: 0 / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.1968, allocations: 0 / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1968, allocations: 0 / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.1968, allocations: 15.86 kB / 0.7892 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.197, allocations: 157.6 kB / 0.7893 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.696e-05/0.197, allocations: 22.59 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.197, allocations: 12.92 kB / 0.7894 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00059/0.1976, allocations: 0.6052 MB / 0.79 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1977, allocations: 42.53 kB / 0.79 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1977, allocations: 0 / 0.79 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001196/0.1978, allocations: 45.64 kB / 0.7901 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.1978, allocations: 51.41 kB / 0.7901 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.834e-05/0.1979, allocations: 97.84 kB / 0.7902 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.1979, allocations: 25.7 kB / 0.7902 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.198, allocations: 84.14 kB / 0.7903 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.198, allocations: 7.844 kB / 0.7903 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.198, allocations: 4.125 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.1981, allocations: 314.8 kB / 0.7906 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.1981, allocations: 4 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/0.1981, allocations: 8 kB / 0.7906 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.351e-05/0.1981, allocations: 0 / 0.7906 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1981, allocations: 3.953 kB / 0.7906 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.68e-05/0.1982, allocations: 45.62 kB / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1982, allocations: 4 kB / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1982, allocations: 0 / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.1982, allocations: 4.094 kB / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.242e-05/0.1983, allocations: 4 kB / 0.7907 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.1983, allocations: 0 / 0.7907 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.1983, allocations: 0 / 0.7907 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.1983, allocations: 0 / 0.7907 GB, free: 8.09 MB / 0.6075 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 6.301e-05/0.1984, allocations: 120.7 kB / 0.7908 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.1984, allocations: 3.953 kB / 0.7908 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.195e-05/0.1985, allocations: 48.67 kB / 0.7908 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1985, allocations: 7.969 kB / 0.7909 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1985, allocations: 3.984 kB / 0.7909 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1985, allocations: 4 kB / 0.7909 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.449e-05/0.1986, allocations: 141.7 kB / 0.791 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1986, allocations: 0 / 0.791 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.1987, allocations: 19.94 kB / 0.791 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1987, allocations: 0 / 0.791 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.1987, allocations: 4 kB / 0.791 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1987, allocations: 0 / 0.791 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1987, allocations: 0 / 0.791 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.441e-05/0.1988, allocations: 61.14 kB / 0.7911 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.1988, allocations: 81.09 kB / 0.7912 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.1988, allocations: 11.89 kB / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.408e-05/0.1988, allocations: 0 / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.1988, allocations: 0 / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.1989, allocations: 0 / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.997e-05/0.1989, allocations: 79.28 kB / 0.7912 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1989, allocations: 3.938 kB / 0.7912 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001777/0.1991, allocations: 16.03 kB / 0.7913 GB, free: 7.391 MB / 0.6075 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.0003313/0.1994, allocations: 0.6164 MB / 0.7919 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.722e-05/0.1995, allocations: 4 kB / 0.7919 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1995, allocations: 96 / 0.7919 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/0.1995, allocations: 11.94 kB / 0.7919 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.1997, allocations: 15.94 kB / 0.7919 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.2002, allocations: 348.4 kB / 0.7922 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.2004, allocations: 0.6772 MB / 0.7929 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.2004, allocations: 4 kB / 0.7929 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.2004, allocations: 11.42 kB / 0.7929 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2004, allocations: 0 / 0.7929 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01014/0.2106, allocations: 1.237 MB / 0.7941 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.2107, allocations: 193.4 kB / 0.7943 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.41/1.62, allocations: 3.938 kB / 0.7943 GB, free: 4.262 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: