Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Interpolate,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_Interpolate",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.001245/0.001245, allocations: 108 kB / 15.61 MB, free: 152 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.001289/0.001289, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7354/0.7354, allocations: 132.2 MB / 422.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 60.97 kB / 0.5019 GB, free: 8.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1287, allocations: 80.2 MB / 0.5802 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002325/0.131, allocations: 1.436 MB / 0.5816 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1322, allocations: 0.8284 MB / 0.5824 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.1323, allocations: 0 / 0.5824 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.1325, allocations: 135.7 kB / 0.5825 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.538e-05/0.1326, allocations: 71.81 kB / 0.5826 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.1331, allocations: 191.5 kB / 0.5828 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.065e-05/0.1332, allocations: 63.81 kB / 0.5829 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.1333, allocations: 4 kB / 0.5829 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.582e-05/0.1333, allocations: 43.88 kB / 0.5829 GB, free: 5.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1334, allocations: 79.84 kB / 0.583 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1334, allocations: 4 kB / 0.583 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.1338, allocations: 243.7 kB / 0.5832 GB, free: 5.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.1339, allocations: 63.81 kB / 0.5833 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.1339, allocations: 55.48 kB / 0.5833 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.1342, allocations: 295.4 kB / 0.5836 GB, free: 5.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1343, allocations: 4 kB / 0.5836 GB, free: 5.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1343, allocations: 0 / 0.5836 GB, free: 5.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1343, allocations: 0 / 0.5836 GB, free: 5.18 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005795/0.1349, allocations: 0.5021 MB / 0.5841 GB, free: 4.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1349, allocations: 8.031 kB / 0.5841 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.14e-05/0.1349, allocations: 30.75 kB / 0.5841 GB, free: 4.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.135, allocations: 20.66 kB / 0.5842 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.1352, allocations: 263.6 kB / 0.5844 GB, free: 4.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1352, allocations: 384 / 0.5844 GB, free: 4.266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.1352, allocations: 7.922 kB / 0.5844 GB, free: 4.258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1354, allocations: 77.66 kB / 0.5845 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1354, allocations: 3.938 kB / 0.5845 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1354, allocations: 0 / 0.5845 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1354, allocations: 0 / 0.5845 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.1356, allocations: 87.92 kB / 0.5846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.1361, allocations: 400.7 kB / 0.585 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.1362, allocations: 90.5 kB / 0.585 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1364, allocations: 52.83 kB / 0.5851 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.1364, allocations: 19.73 kB / 0.5851 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.1364, allocations: 38.5 kB / 0.5852 GB, free: 3.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1364, allocations: 0 / 0.5852 GB, free: 3.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003921/0.1368, allocations: 181.3 kB / 0.5853 GB, free: 3.242 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.1369, allocations: 51.41 kB / 0.5854 GB, free: 3.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.1372, allocations: 351.2 kB / 0.5857 GB, free: 2.836 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1372, allocations: 29.83 kB / 0.5857 GB, free: 2.801 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.1373, allocations: 136.1 kB / 0.5859 GB, free: 2.664 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.1373, allocations: 11.84 kB / 0.5859 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1373, allocations: 25.7 kB / 0.5859 GB, free: 2.621 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.1374, allocations: 334.8 kB / 0.5862 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1376, allocations: 99.94 kB / 0.5863 GB, free: 2.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1377, allocations: 102.8 kB / 0.5864 GB, free: 2.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.138, allocations: 204.8 kB / 0.5866 GB, free: 1.887 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.138, allocations: 0 / 0.5866 GB, free: 1.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000326/0.1384, allocations: 253.3 kB / 0.5869 GB, free: 1.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1384, allocations: 4 kB / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1384, allocations: 0 / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1384, allocations: 0 / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.1385, allocations: 11.98 kB / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1385, allocations: 4 kB / 0.5869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.1386, allocations: 11.84 kB / 0.5869 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1386, allocations: 4 kB / 0.5869 GB, free: 1.598 MB / 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001215/0.1387, allocations: 149.7 kB / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.1388, allocations: 19.72 kB / 0.587 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.139, allocations: 150.6 kB / 0.5872 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1391, allocations: 0 / 0.5872 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1391, allocations: 0 / 0.5872 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1391, allocations: 0 / 0.5872 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.1393, allocations: 253.5 kB / 0.5874 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1393, allocations: 0 / 0.5874 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.1394, allocations: 11.94 kB / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.1394, allocations: 0 / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.1394, allocations: 3.984 kB / 0.5874 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1394, allocations: 0 / 0.5874 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1394, allocations: 3.938 kB / 0.5875 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.1397, allocations: 239.1 kB / 0.5877 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.1398, allocations: 104.8 kB / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1398, allocations: 0 / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.1399, allocations: 7.984 kB / 0.5878 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.1399, allocations: 0 / 0.5878 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.1399, allocations: 4.031 kB / 0.5878 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.1402, allocations: 249.9 kB / 0.588 GB, free: 324 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1402, allocations: 0 / 0.588 GB, free: 324 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000322/0.1405, allocations: 79.92 kB / 0.5881 GB, free: 244 kB / 494.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 (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.00068/0.1412, allocations: 0.8176 MB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.1415, allocations: 159.9 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1415, allocations: 0 / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1416, allocations: 43.97 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.1419, allocations: 12.66 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.1446, allocations: 2.715 MB / 0.5918 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.1449, allocations: 0.7392 MB / 0.5925 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.646e-05/0.1449, allocations: 12.56 kB / 0.5925 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.145, allocations: 55.41 kB / 0.5925 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.145, allocations: 0 / 0.5925 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.1645, allocations: 4.339 MB / 0.5968 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/6.948, allocations: 8.875 kB / 0.5968 GB, free: 7.359 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_Interpolate.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1)