Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_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.001198/0.001198, allocations: 108 kB / 15.6 MB, free: 132 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.00122/0.00122, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.885/1.885, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.758/1.758, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 63.91 kB / 0.5055 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2389, allocations: 80.92 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.004433/0.2434, allocations: 1.253 MB / 0.5857 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000483/0.244, allocations: 123.5 kB / 0.5858 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.244, allocations: 0 / 0.5858 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.2441, allocations: 3.938 kB / 0.5858 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.2442, allocations: 0 / 0.5858 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.2446, allocations: 51.81 kB / 0.5859 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.136e-05/0.2447, allocations: 11.94 kB / 0.5859 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.7e-05/0.2448, allocations: 3.984 kB / 0.5859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.2448, allocations: 4 kB / 0.5859 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.2449, allocations: 11.94 kB / 0.5859 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.2449, allocations: 0 / 0.5859 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.2452, allocations: 47.94 kB / 0.5859 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.2452, allocations: 4 kB / 0.5859 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.2453, allocations: 11.92 kB / 0.586 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.2454, allocations: 35.95 kB / 0.586 GB, free: 2.863 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2455, allocations: 0 / 0.586 GB, free: 2.863 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2455, allocations: 0 / 0.586 GB, free: 2.863 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2455, allocations: 4 kB / 0.586 GB, free: 2.859 MB / 494.1 MB 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.0005304/0.246, allocations: 331.7 kB / 0.5863 GB, free: 2.488 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.2461, allocations: 8.031 kB / 0.5863 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.2462, allocations: 38.73 kB / 0.5864 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.2462, allocations: 0.9375 kB / 0.5864 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.2464, allocations: 160.4 kB / 0.5865 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.2464, allocations: 4.375 kB / 0.5865 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2465, allocations: 8.312 kB / 0.5865 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.2466, allocations: 33.64 kB / 0.5866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2466, allocations: 0 / 0.5866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.2466, allocations: 7.984 kB / 0.5866 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2467, allocations: 0 / 0.5866 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.751e-05/0.2467, allocations: 4 kB / 0.5866 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.247, allocations: 145.7 kB / 0.5867 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.664e-05/0.2471, allocations: 30.59 kB / 0.5867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.2471, allocations: 12.73 kB / 0.5867 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.2483, allocations: 0.613 MB / 0.5873 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.2484, allocations: 30.56 kB / 0.5874 GB, free: 1.148 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.765e-06/0.2484, allocations: 0 / 0.5874 GB, free: 1.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002102/0.2486, allocations: 41.7 kB / 0.5874 GB, free: 1.102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.2487, allocations: 55.53 kB / 0.5875 GB, free: 1.035 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2488, allocations: 97.84 kB / 0.5876 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.2488, allocations: 25.7 kB / 0.5876 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.2489, allocations: 80.14 kB / 0.5877 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.249, allocations: 11.91 kB / 0.5877 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.249, allocations: 13.66 kB / 0.5877 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.2492, allocations: 310.8 kB / 0.588 GB, free: 484 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.2493, allocations: 7.938 kB / 0.588 GB, free: 476 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.2493, allocations: 15.98 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.214e-05/0.2494, allocations: 8.859 kB / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2494, allocations: 0 / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001245/0.2495, allocations: 41.64 kB / 0.5881 GB, free: 400 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.2496, allocations: 4 kB / 0.5881 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.2496, allocations: 4 kB / 0.5881 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2496, allocations: 0 / 0.5881 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.899e-05/0.2497, allocations: 7.984 kB / 0.5881 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.2497, allocations: 8.094 kB / 0.5881 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.2498, allocations: 3.906 kB / 0.5881 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2498, allocations: 3.938 kB / 0.5881 GB, free: 368 kB / 494.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 (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 0.0001059/0.2499, allocations: 109.8 kB / 0.5882 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.2499, allocations: 7.938 kB / 0.5882 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.2501, allocations: 44.81 kB / 0.5882 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.2501, allocations: 0 / 0.5882 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2501, allocations: 0 / 0.5882 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2502, allocations: 4.219 kB / 0.5882 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.2504, allocations: 157.7 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2504, allocations: 3.938 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.2504, allocations: 4 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.2505, allocations: 3.984 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2505, allocations: 0 / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2505, allocations: 3.938 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2505, allocations: 0 / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.2506, allocations: 73.06 kB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.2507, allocations: 81.05 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2508, allocations: 0 / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.074e-05/0.2508, allocations: 0 / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.2508, allocations: 0 / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-06/0.2508, allocations: 4 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.2509, allocations: 83.27 kB / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2509, allocations: 0 / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004034/0.2513, allocations: 16 kB / 0.5887 GB, free: 15.67 MB / 0.4981 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.0005946/0.252, allocations: 0.6163 MB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.2521, allocations: 12 kB / 0.5893 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2521, allocations: 0 / 0.5893 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.2522, allocations: 7.984 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.2526, allocations: 12.09 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.2541, allocations: 1.095 MB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.2545, allocations: 0.6806 MB / 0.591 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.94e-05/0.2545, allocations: 4.062 kB / 0.591 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.2546, allocations: 11.44 kB / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.2546, allocations: 0 / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0985/0.3531, allocations: 1.4 MB / 0.5924 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.41, allocations: 4.062 kB / 0.5924 GB, free: 11.79 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)