Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_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.00607/0.00607, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001392/0.001392, allocations: 197 kB / 16.67 MB, free: 5.969 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 284.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9071/0.9071, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 95.86 kB / 0.681 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3914, allocations: 86.98 MB / 0.7659 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00204/0.3935, allocations: 1.249 MB / 0.7671 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002714/0.3938, allocations: 123.5 kB / 0.7672 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.3938, allocations: 0 / 0.7672 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.3938, allocations: 0 / 0.7672 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.797e-05/0.3939, allocations: 3.938 kB / 0.7673 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.3941, allocations: 51.88 kB / 0.7673 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.197e-05/0.3941, allocations: 11.92 kB / 0.7673 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.3942, allocations: 4 kB / 0.7673 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.839e-05/0.3942, allocations: 4 kB / 0.7673 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.3943, allocations: 7.938 kB / 0.7673 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.3943, allocations: 0 / 0.7673 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3944, allocations: 51.94 kB / 0.7674 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.3944, allocations: 0 / 0.7674 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.3945, allocations: 7.938 kB / 0.7674 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.3946, allocations: 39.73 kB / 0.7674 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3946, allocations: 4 kB / 0.7674 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3946, allocations: 0 / 0.7674 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3946, allocations: 0 / 0.7674 GB, free: 2.297 MB / 0.5294 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.0003506/0.3949, allocations: 336.7 kB / 0.7677 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.395, allocations: 12.02 kB / 0.7678 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.723e-05/0.395, allocations: 34.69 kB / 0.7678 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.3951, allocations: 4.875 kB / 0.7678 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.3952, allocations: 164.4 kB / 0.768 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.3952, allocations: 384 / 0.768 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.3952, allocations: 8.125 kB / 0.768 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.924e-05/0.3953, allocations: 33.69 kB / 0.768 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.3953, allocations: 0 / 0.768 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3953, allocations: 4 kB / 0.768 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.3953, allocations: 0 / 0.768 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.3954, allocations: 4 kB / 0.768 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.3955, allocations: 161.5 kB / 0.7682 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.407e-05/0.3956, allocations: 26.55 kB / 0.7682 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.3956, allocations: 12.86 kB / 0.7682 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006389/0.3962, allocations: 0.6052 MB / 0.7688 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3963, allocations: 38.53 kB / 0.7688 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3963, allocations: 0 / 0.7688 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001222/0.3964, allocations: 41.59 kB / 0.7689 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.3964, allocations: 59.53 kB / 0.7689 GB, free: 468 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.3965, allocations: 101.8 kB / 0.769 GB, free: 356 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.3965, allocations: 25.7 kB / 0.769 GB, free: 324 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.3965, allocations: 80.14 kB / 0.7691 GB, free: 240 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.3966, allocations: 4 kB / 0.7691 GB, free: 236 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.3966, allocations: 13.72 kB / 0.7691 GB, free: 216 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3967, allocations: 310.8 kB / 0.7694 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.3967, allocations: 4 kB / 0.7694 GB, free: 15.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.3967, allocations: 11.98 kB / 0.7694 GB, free: 15.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/0.3968, allocations: 16.86 kB / 0.7695 GB, free: 15.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3968, allocations: 0 / 0.7695 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.916e-05/0.3969, allocations: 53.53 kB / 0.7695 GB, free: 15.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.3969, allocations: 4 kB / 0.7695 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.3969, allocations: 0 / 0.7695 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3969, allocations: 0 / 0.7695 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.381e-05/0.3969, allocations: 4 kB / 0.7695 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.397, allocations: 0 / 0.7695 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.397, allocations: 8.078 kB / 0.7695 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.397, allocations: 0 / 0.7695 GB, free: 15.79 MB / 0.545 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 6.124e-05/0.3971, allocations: 112.2 kB / 0.7696 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.3971, allocations: 3.938 kB / 0.7696 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.851e-05/0.3971, allocations: 44.81 kB / 0.7697 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3972, allocations: 0 / 0.7697 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3972, allocations: 4 kB / 0.7697 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3972, allocations: 0 / 0.7697 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.561e-05/0.3973, allocations: 157.5 kB / 0.7698 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3973, allocations: 11.97 kB / 0.7698 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.3973, allocations: 0 / 0.7698 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3973, allocations: 3.938 kB / 0.7698 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3973, allocations: 4 kB / 0.7699 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3973, allocations: 0 / 0.7699 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3973, allocations: 0 / 0.7699 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.821e-05/0.3974, allocations: 65.06 kB / 0.7699 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.3975, allocations: 81.06 kB / 0.77 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.3975, allocations: 8.031 kB / 0.77 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.619e-05/0.3975, allocations: 0 / 0.77 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-06/0.3975, allocations: 0 / 0.77 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.3975, allocations: 0 / 0.77 GB, free: 15.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.226e-05/0.3975, allocations: 83.28 kB / 0.7701 GB, free: 15.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3976, allocations: 0 / 0.7701 GB, free: 15.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001988/0.3978, allocations: 19.92 kB / 0.7701 GB, free: 15.11 MB / 0.545 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.000343/0.3981, allocations: 0.6201 MB / 0.7707 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.297e-05/0.3982, allocations: 8 kB / 0.7707 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3982, allocations: 4 kB / 0.7707 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.3982, allocations: 7.938 kB / 0.7707 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.3984, allocations: 10.64 kB / 0.7707 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.3992, allocations: 1.087 MB / 0.7718 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.3995, allocations: 0.6768 MB / 0.7725 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.316e-05/0.3995, allocations: 3.984 kB / 0.7725 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.3995, allocations: 7.438 kB / 0.7725 GB, free: 12.54 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.3995, allocations: 0 / 0.7725 GB, free: 12.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.4148, allocations: 1.441 MB / 0.7739 GB, free: 11.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.525, allocations: 8.562 kB / 0.7739 GB, free: 11.23 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)