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.00123/0.00123, allocations: 111.9 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.001379/0.001379, allocations: 196.9 kB / 16.54 MB, free: 6.668 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.432/1.432, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.703/1.703, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001408/0.001408, allocations: 69.97 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.213, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003034/0.216, allocations: 1.264 MB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003532/0.2164, allocations: 115.5 kB / 0.7848 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.2164, allocations: 0 / 0.7848 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.2165, allocations: 7.984 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.668e-05/0.2166, allocations: 3.938 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.2169, allocations: 39.89 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.098e-05/0.2169, allocations: 11.94 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.082e-05/0.217, allocations: 3.984 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.407e-05/0.217, allocations: 4 kB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.2171, allocations: 15.92 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2171, allocations: 0 / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.2173, allocations: 47.95 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.2173, allocations: 7.984 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.2174, allocations: 4 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.2175, allocations: 44.09 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2176, allocations: 4 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2176, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2176, allocations: 0 / 0.785 GB, free: 11.82 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.0004706/0.2181, allocations: 327.5 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.2181, allocations: 12.03 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.2182, allocations: 34.75 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.2182, allocations: 0.9375 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.2184, allocations: 164.3 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.2184, allocations: 4.375 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.2184, allocations: 384 / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.875e-05/0.2185, allocations: 38.25 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2185, allocations: 3.938 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.2186, allocations: 0 / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2186, allocations: 0 / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.2186, allocations: 4 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.2189, allocations: 161.7 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.583e-05/0.2189, allocations: 26.5 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.219, allocations: 8.922 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000952/0.2199, allocations: 0.609 MB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.22, allocations: 38.56 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.22, allocations: 0 / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001767/0.2202, allocations: 45.62 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.2202, allocations: 51.41 kB / 0.7865 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.2203, allocations: 101.7 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2203, allocations: 25.7 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.2204, allocations: 88.14 kB / 0.7867 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.2204, allocations: 7.844 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.2205, allocations: 13.83 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2206, allocations: 318.8 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.2206, allocations: 4 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/0.2206, allocations: 4 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.871e-05/0.2207, allocations: 8.859 kB / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2207, allocations: 0 / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.036e-05/0.2208, allocations: 41.69 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.2208, allocations: 11.94 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2209, allocations: 4.094 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2209, allocations: 3.938 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/0.2209, allocations: 4 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.221, allocations: 0 / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.221, allocations: 3.906 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.221, allocations: 0 / 0.7871 GB, free: 9.316 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 7.403e-05/0.2211, allocations: 105.8 kB / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.2211, allocations: 7.938 kB / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.2212, allocations: 48.81 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2213, allocations: 0 / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2213, allocations: 0 / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2213, allocations: 0 / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.2214, allocations: 153.7 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2214, allocations: 0 / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.2215, allocations: 7.938 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2215, allocations: 3.938 kB / 0.7874 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.2215, allocations: 0 / 0.7874 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2215, allocations: 0 / 0.7874 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2215, allocations: 0 / 0.7874 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.2216, allocations: 73.09 kB / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.2217, allocations: 77.11 kB / 0.7875 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.2217, allocations: 3.938 kB / 0.7875 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.385e-05/0.2217, allocations: 0 / 0.7875 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.2218, allocations: 7.984 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.2218, allocations: 4 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.316e-05/0.2218, allocations: 83.28 kB / 0.7876 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2218, allocations: 4.031 kB / 0.7876 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003471/0.2222, allocations: 16 kB / 0.7877 GB, free: 8.625 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.0004767/0.2227, allocations: 0.6123 MB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.581e-05/0.2228, allocations: 12 kB / 0.7883 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2228, allocations: 4.094 kB / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2e-05/0.2228, allocations: 7.938 kB / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.2232, allocations: 4.938 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2244, allocations: 1.095 MB / 0.7894 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.2247, allocations: 0.6768 MB / 0.79 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.088e-05/0.2248, allocations: 11.98 kB / 0.79 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.2248, allocations: 7.438 kB / 0.79 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2248, allocations: 0 / 0.79 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.243, allocations: 1.399 MB / 0.7914 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.547, allocations: 11.69 kB / 0.7914 GB, free: 4.719 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)