Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.0009763/0.0009763, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009531/0.0009532, allocations: 197.9 kB / 16.53 MB, free: 6.672 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.204/1.204, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.536/1.536, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001542/0.001542, allocations: 72.75 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1764, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002742/0.1792, allocations: 1.276 MB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005805/0.1798, allocations: 287 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.1798, allocations: 7.938 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.1799, allocations: 3.938 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.557e-05/0.18, allocations: 19.89 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.1803, allocations: 67.73 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.05e-05/0.1804, allocations: 31.91 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.1804, allocations: 8 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.141e-05/0.1805, allocations: 31.86 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.1806, allocations: 11.94 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1806, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.1808, allocations: 83.91 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.1808, allocations: 7.969 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.1809, allocations: 15.88 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1811, allocations: 80.06 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1811, allocations: 0 / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1811, allocations: 0 / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1811, allocations: 0 / 0.7853 GB, free: 11.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003813/0.1815, allocations: 351.4 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1815, allocations: 8.031 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.1816, allocations: 34.75 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.1816, allocations: 8.828 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1817, allocations: 172.2 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1817, allocations: 4.375 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.1818, allocations: 384 / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.1819, allocations: 46.19 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1819, allocations: 7.922 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1819, allocations: 0 / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1819, allocations: 0 / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/0.182, allocations: 12 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.1822, allocations: 157.7 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.316e-05/0.1823, allocations: 38.61 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.1823, allocations: 8.922 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/0.1836, allocations: 1.179 MB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1837, allocations: 42.5 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.1837, allocations: 0 / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001706/0.1838, allocations: 53.62 kB / 0.7874 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.1839, allocations: 55.41 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.184, allocations: 105.8 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.184, allocations: 25.7 kB / 0.7876 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.184, allocations: 80.14 kB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.1841, allocations: 11.89 kB / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.1841, allocations: 25.62 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1842, allocations: 310.8 kB / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.1843, allocations: 4 kB / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.1843, allocations: 7.922 kB / 0.788 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.183e-05/0.1843, allocations: 16.86 kB / 0.788 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1843, allocations: 0 / 0.788 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.174e-05/0.1844, allocations: 45.69 kB / 0.7881 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1845, allocations: 11.94 kB / 0.7881 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1845, allocations: 4 kB / 0.7881 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1845, allocations: 0 / 0.7881 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.323e-05/0.1846, allocations: 7.938 kB / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1846, allocations: 0 / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.1846, allocations: 0 / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1846, allocations: 7.938 kB / 0.7881 GB, free: 8.121 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 (3): * Single equations (assignments): 3 * 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 7.647e-05/0.1847, allocations: 114.4 kB / 0.7882 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.1847, allocations: 7.938 kB / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.1849, allocations: 65.48 kB / 0.7883 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1849, allocations: 4 kB / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1849, allocations: 0 / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1849, allocations: 384 / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.185, allocations: 157.7 kB / 0.7884 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1851, allocations: 0 / 0.7884 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1851, allocations: 8 kB / 0.7884 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1851, allocations: 3.938 kB / 0.7884 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1851, allocations: 3.984 kB / 0.7884 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1851, allocations: 7.984 kB / 0.7884 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1851, allocations: 0 / 0.7884 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.1853, allocations: 73.06 kB / 0.7885 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.1853, allocations: 81.02 kB / 0.7886 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1854, allocations: 11.94 kB / 0.7886 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.1854, allocations: 0 / 0.7886 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.1854, allocations: 3.984 kB / 0.7886 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1854, allocations: 4 kB / 0.7886 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.619e-05/0.1855, allocations: 87.59 kB / 0.7887 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1855, allocations: 0 / 0.7887 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003434/0.1859, allocations: 31.92 kB / 0.7887 GB, free: 7.359 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 (3): * Single equations (assignments): 3 * 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.0004736/0.1863, allocations: 0.6358 MB / 0.7893 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.168e-05/0.1864, allocations: 16 kB / 0.7894 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1865, allocations: 0 / 0.7894 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.239e-05/0.1865, allocations: 11.98 kB / 0.7894 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.1868, allocations: 9.172 kB / 0.7894 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.1872, allocations: 167.5 kB / 0.7895 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.1875, allocations: 0.6768 MB / 0.7902 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.675e-05/0.1875, allocations: 11.98 kB / 0.7902 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.1876, allocations: 15.44 kB / 0.7902 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.1876, allocations: 0 / 0.7902 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3355/0.5231, allocations: 1.594 MB / 0.7918 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.501, allocations: 18.66 kB / 0.7918 GB, free: 4.207 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)