Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_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.00133/0.00133, allocations: 103 kB / 16.27 MB, free: 5.93 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.001287/0.001287, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6903/0.6903, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2868, allocations: 77.91 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001918/0.2888, allocations: 1.286 MB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004204/0.2892, allocations: 308.8 kB / 0.5688 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.2893, allocations: 0 / 0.5688 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.2893, allocations: 0.6094 kB / 0.5688 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.015e-05/0.2894, allocations: 11.47 kB / 0.5688 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.2896, allocations: 84.28 kB / 0.5689 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.744e-05/0.2897, allocations: 39.88 kB / 0.569 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.2897, allocations: 2.797 kB / 0.569 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.2898, allocations: 22.56 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.2899, allocations: 16.42 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.2899, allocations: 1.75 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.29, allocations: 78.45 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.29, allocations: 3.125 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.2901, allocations: 14.06 kB / 0.5691 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.2902, allocations: 73.97 kB / 0.5692 GB, free: 31.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2902, allocations: 1.797 kB / 0.5692 GB, free: 31.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2902, allocations: 0 / 0.5692 GB, free: 31.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.2902, allocations: 3.938 kB / 0.5692 GB, free: 31.47 MB / 446.1 MB 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.0002529/0.2905, allocations: 353 kB / 0.5695 GB, free: 31.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2905, allocations: 11.66 kB / 0.5695 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.983e-05/0.2906, allocations: 34.75 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.2906, allocations: 12.27 kB / 0.5696 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.315e-05/0.2907, allocations: 175.3 kB / 0.5697 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.2907, allocations: 2.5 kB / 0.5697 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.2907, allocations: 1.594 kB / 0.5697 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.496e-05/0.2908, allocations: 45.23 kB / 0.5698 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.2908, allocations: 0 / 0.5698 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2908, allocations: 1.125 kB / 0.5698 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2908, allocations: 0 / 0.5698 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.593e-05/0.2908, allocations: 13.12 kB / 0.5698 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.2909, allocations: 156.9 kB / 0.5699 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.291, allocations: 32.94 kB / 0.57 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.291, allocations: 15.5 kB / 0.57 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007728/0.2918, allocations: 1.187 MB / 0.5711 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.267e-05/0.2918, allocations: 32.8 kB / 0.5712 GB, free: 29.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2918, allocations: 0 / 0.5712 GB, free: 29.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001236/0.292, allocations: 54.78 kB / 0.5712 GB, free: 29.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.467e-05/0.292, allocations: 51.41 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.574e-05/0.292, allocations: 108.4 kB / 0.5714 GB, free: 29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.2921, allocations: 30.61 kB / 0.5714 GB, free: 28.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.02e-05/0.2921, allocations: 80.14 kB / 0.5715 GB, free: 28.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.2921, allocations: 11.19 kB / 0.5715 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.2921, allocations: 18.59 kB / 0.5715 GB, free: 28.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.395e-05/0.2922, allocations: 318 kB / 0.5718 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.2922, allocations: 5.5 kB / 0.5718 GB, free: 28.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.2922, allocations: 8.453 kB / 0.5718 GB, free: 28.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.2922, allocations: 17.47 kB / 0.5718 GB, free: 28.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2922, allocations: 0 / 0.5718 GB, free: 28.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.89e-05/0.2923, allocations: 52.11 kB / 0.5719 GB, free: 28.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.2923, allocations: 7.609 kB / 0.5719 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2923, allocations: 4 kB / 0.5719 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.2923, allocations: 1.344 kB / 0.5719 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.29e-05/0.2924, allocations: 8.375 kB / 0.5719 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2924, allocations: 0.75 kB / 0.5719 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.2924, allocations: 1.188 kB / 0.5719 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.2924, allocations: 5.312 kB / 0.5719 GB, free: 28.48 MB / 446.1 MB 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 3.751e-05/0.2925, allocations: 107.9 kB / 0.572 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.2925, allocations: 6.344 kB / 0.572 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.2926, allocations: 67.89 kB / 0.5721 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2926, allocations: 1.031 kB / 0.5721 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2926, allocations: 0.8438 kB / 0.5721 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2926, allocations: 2.281 kB / 0.5721 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.614e-05/0.2927, allocations: 160.9 kB / 0.5723 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2927, allocations: 3.938 kB / 0.5723 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.2927, allocations: 6.672 kB / 0.5723 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2927, allocations: 1.625 kB / 0.5723 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.2927, allocations: 1.906 kB / 0.5723 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2927, allocations: 0 / 0.5723 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2927, allocations: 1.031 kB / 0.5723 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.607e-05/0.2928, allocations: 72.08 kB / 0.5723 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.2929, allocations: 93.48 kB / 0.5724 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.2929, allocations: 3.188 kB / 0.5724 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.837e-05/0.2929, allocations: 1.438 kB / 0.5724 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.2929, allocations: 3.547 kB / 0.5724 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.2929, allocations: 1.062 kB / 0.5724 GB, free: 27.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.447e-05/0.293, allocations: 88.78 kB / 0.5725 GB, free: 27.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.293, allocations: 0 / 0.5725 GB, free: 27.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.2932, allocations: 28.17 kB / 0.5725 GB, free: 27.85 MB / 446.1 MB 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.0002544/0.2934, allocations: 0.6327 MB / 0.5732 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.067e-05/0.2935, allocations: 24.73 kB / 0.5732 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2935, allocations: 1.406 kB / 0.5732 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.578e-05/0.2935, allocations: 8.094 kB / 0.5732 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.2937, allocations: 2.781 kB / 0.5732 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.294, allocations: 168.4 kB / 0.5734 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.608e-05/0.2941, allocations: 0.6796 MB / 0.574 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.997e-05/0.2941, allocations: 10.12 kB / 0.574 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.2942, allocations: 11.66 kB / 0.574 GB, free: 26.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2942, allocations: 0 / 0.574 GB, free: 26.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.3102, allocations: 1.61 MB / 0.5756 GB, free: 26.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.71/7.02, allocations: 4.406 kB / 0.5756 GB, free: 26.04 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)