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.0008696/0.0008695, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005249/0.005249, allocations: 172.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.198/1.198, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.498/1.498, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004685/0.0004685, allocations: 14.72 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1814, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.0009351/0.1824, allocations: 0.9782 MB / 0.789 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.1826, allocations: 127.5 kB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-06/0.1826, allocations: 0 / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.005e-06/0.1826, allocations: 4 kB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.025e-05/0.1827, allocations: 3.938 kB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.39e-05/0.1828, allocations: 27.91 kB / 0.7891 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.416e-05/0.1828, allocations: 11.94 kB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.289e-05/0.1828, allocations: 7.969 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.04e-05/0.1828, allocations: 4 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.928e-05/0.1829, allocations: 11.94 kB / 0.7891 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.071e-06/0.1829, allocations: 0 / 0.7891 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.094e-05/0.183, allocations: 51.94 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.32e-06/0.183, allocations: 0 / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.183, allocations: 33.7 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.541e-05/0.1831, allocations: 40.09 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.1831, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.31e-07/0.1831, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.124e-06/0.1831, allocations: 0 / 0.7893 GB, free: 10.14 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.0002181/0.1833, allocations: 331.5 kB / 0.7896 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.382e-05/0.1833, allocations: 12.03 kB / 0.7896 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.955e-05/0.1834, allocations: 34.75 kB / 0.7896 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.124e-05/0.1834, allocations: 0.9375 kB / 0.7896 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.938e-05/0.1835, allocations: 164.4 kB / 0.7898 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-06/0.1835, allocations: 4.375 kB / 0.7898 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-06/0.1835, allocations: 4.375 kB / 0.7898 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.483e-05/0.1835, allocations: 34.2 kB / 0.7898 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-06/0.1836, allocations: 7.875 kB / 0.7898 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-06/0.1836, allocations: 0 / 0.7898 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-06/0.1836, allocations: 0 / 0.7898 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.1836, allocations: 15.98 kB / 0.7898 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.1837, allocations: 145.7 kB / 0.79 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.187e-05/0.1837, allocations: 26.56 kB / 0.79 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.1838, allocations: 8.922 kB / 0.79 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005628/0.1843, allocations: 0.6129 MB / 0.7906 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.1844, allocations: 38.56 kB / 0.7907 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1844, allocations: 0 / 0.7907 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 8.26e-05/0.1844, allocations: 45.62 kB / 0.7907 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.1845, allocations: 51.41 kB / 0.7907 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.852e-05/0.1845, allocations: 97.86 kB / 0.7908 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1845, allocations: 29.69 kB / 0.7909 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/0.1846, allocations: 80.14 kB / 0.7909 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.1846, allocations: 11.97 kB / 0.791 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.1846, allocations: 13.72 kB / 0.791 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.1847, allocations: 318.8 kB / 0.7913 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-06/0.1847, allocations: 0 / 0.7913 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-06/0.1847, allocations: 7.938 kB / 0.7913 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.094e-05/0.1848, allocations: 12.86 kB / 0.7913 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1848, allocations: 0 / 0.7913 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.276e-05/0.1848, allocations: 37.69 kB / 0.7913 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1848, allocations: 16.03 kB / 0.7913 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.1848, allocations: 0 / 0.7913 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/0.1849, allocations: 0 / 0.7913 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.991e-05/0.1849, allocations: 4 kB / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.1849, allocations: 0 / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.1849, allocations: 0 / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-06/0.1849, allocations: 0 / 0.7913 GB, free: 7.645 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/0.185, allocations: 117.8 kB / 0.7915 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.185, allocations: 11.84 kB / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.699e-05/0.1851, allocations: 44.83 kB / 0.7915 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1851, allocations: 0 / 0.7915 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1851, allocations: 3.984 kB / 0.7915 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-06/0.1851, allocations: 0 / 0.7915 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.824e-05/0.1852, allocations: 149.7 kB / 0.7917 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1852, allocations: 192 / 0.7917 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.1852, allocations: 7.984 kB / 0.7917 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1852, allocations: 3.938 kB / 0.7917 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.1852, allocations: 3.984 kB / 0.7917 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1852, allocations: 0 / 0.7917 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1852, allocations: 7.969 kB / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.9e-05/0.1853, allocations: 69.02 kB / 0.7918 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.1853, allocations: 81.09 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.1853, allocations: 3.938 kB / 0.7918 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.1854, allocations: 0 / 0.7918 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-06/0.1854, allocations: 4 kB / 0.7918 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-06/0.1854, allocations: 0 / 0.7918 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.85e-05/0.1854, allocations: 83.31 kB / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1854, allocations: 0 / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001716/0.1856, allocations: 16 kB / 0.7919 GB, free: 6.941 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000294/0.1859, allocations: 0.6124 MB / 0.7925 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.984e-05/0.1859, allocations: 12.03 kB / 0.7925 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.186, allocations: 0 / 0.7925 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.799e-06/0.186, allocations: 4 kB / 0.7925 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.1861, allocations: 14.94 kB / 0.7926 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.1868, allocations: 1.099 MB / 0.7936 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.187, allocations: 0.677 MB / 0.7943 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.166e-05/0.187, allocations: 4.062 kB / 0.7943 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.187, allocations: 11.44 kB / 0.7943 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of SimCode: time 1.332e-06/0.1871, allocations: 4 kB / 0.7943 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05006/0.2371, allocations: 1.229 MB / 0.7955 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.2373, allocations: 215 kB / 0.7957 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/1.68, allocations: 4 kB / 0.7957 GB, free: 3.004 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/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)