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.00745/0.00745, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.002015/0.002016, allocations: 193.8 kB / 16.67 MB, free: 6.355 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8171/0.8171, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 68.77 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.139, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.00251/0.1415, allocations: 1.43 MB / 0.6606 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1429, allocations: 0.8345 MB / 0.6614 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.1429, allocations: 0 / 0.6614 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.1432, allocations: 131.7 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.957e-05/0.1433, allocations: 71.83 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.1439, allocations: 185.5 kB / 0.6618 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.144, allocations: 71.8 kB / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.925e-05/0.1441, allocations: 0 / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.828e-05/0.1441, allocations: 47.88 kB / 0.6619 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1443, allocations: 75.86 kB / 0.662 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1443, allocations: 4 kB / 0.662 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004495/0.1448, allocations: 255.7 kB / 0.6622 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.739e-05/0.1448, allocations: 59.83 kB / 0.6623 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.1449, allocations: 59.47 kB / 0.6623 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.1453, allocations: 295.2 kB / 0.6626 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1454, allocations: 0 / 0.6626 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1454, allocations: 0 / 0.6626 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.1454, allocations: 0 / 0.6626 GB, free: 10.51 MB / 0.4981 GB 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.0006926/0.1461, allocations: 0.5174 MB / 0.6631 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1461, allocations: 8.031 kB / 0.6631 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.1461, allocations: 30.75 kB / 0.6632 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.1462, allocations: 20.8 kB / 0.6632 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1465, allocations: 267.8 kB / 0.6634 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1465, allocations: 4.125 kB / 0.6634 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1465, allocations: 4 kB / 0.6634 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1467, allocations: 77.66 kB / 0.6635 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1467, allocations: 0 / 0.6635 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.1467, allocations: 3.938 kB / 0.6635 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1468, allocations: 3.938 kB / 0.6635 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.147, allocations: 87.92 kB / 0.6636 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.1475, allocations: 396.7 kB / 0.664 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1477, allocations: 94.52 kB / 0.6641 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1479, allocations: 44.89 kB / 0.6641 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.1479, allocations: 15.98 kB / 0.6641 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.1479, allocations: 42.5 kB / 0.6642 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.148, allocations: 0 / 0.6642 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004745/0.1484, allocations: 177.5 kB / 0.6643 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1485, allocations: 51.41 kB / 0.6644 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.1489, allocations: 351.2 kB / 0.6647 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1489, allocations: 33.7 kB / 0.6648 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.149, allocations: 136.1 kB / 0.6649 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.149, allocations: 3.953 kB / 0.6649 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.1491, allocations: 25.7 kB / 0.6649 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1492, allocations: 342.9 kB / 0.6652 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.1494, allocations: 95.94 kB / 0.6653 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.1496, allocations: 95.94 kB / 0.6654 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.1499, allocations: 208.7 kB / 0.6656 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1499, allocations: 0 / 0.6656 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004118/0.1504, allocations: 260.3 kB / 0.6659 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1504, allocations: 4 kB / 0.6659 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1504, allocations: 3.938 kB / 0.6659 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1504, allocations: 0 / 0.6659 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.149e-05/0.1505, allocations: 8 kB / 0.6659 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1505, allocations: 7.969 kB / 0.6659 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/0.1506, allocations: 11.89 kB / 0.6659 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1506, allocations: 7.938 kB / 0.6659 GB, free: 6.898 MB / 0.4981 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 (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.0001319/0.1507, allocations: 149.8 kB / 0.6661 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.1508, allocations: 27.75 kB / 0.6661 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.1511, allocations: 138.6 kB / 0.6662 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1511, allocations: 0 / 0.6662 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1511, allocations: 0 / 0.6662 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1511, allocations: 4 kB / 0.6662 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.1514, allocations: 245.5 kB / 0.6665 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1514, allocations: 4.031 kB / 0.6665 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.1515, allocations: 12 kB / 0.6665 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1515, allocations: 0 / 0.6665 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1515, allocations: 0 / 0.6665 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1515, allocations: 0 / 0.6665 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.1515, allocations: 3.984 kB / 0.6665 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.1519, allocations: 239.2 kB / 0.6667 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.152, allocations: 108.9 kB / 0.6668 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.152, allocations: 0 / 0.6668 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.1521, allocations: 7.984 kB / 0.6668 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.1521, allocations: 0 / 0.6668 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1521, allocations: 4.094 kB / 0.6668 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002731/0.1524, allocations: 253.8 kB / 0.6671 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1524, allocations: 0 / 0.6671 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003304/0.1527, allocations: 71.86 kB / 0.6671 GB, free: 5.555 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.0008202/0.1536, allocations: 0.8215 MB / 0.6679 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.1539, allocations: 167.9 kB / 0.6681 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.154, allocations: 0 / 0.6681 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1541, allocations: 43.91 kB / 0.6681 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1544, allocations: 12.66 kB / 0.6681 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.1576, allocations: 2.724 MB / 0.6708 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.158, allocations: 0.7353 MB / 0.6715 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.158, allocations: 16.55 kB / 0.6715 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.1581, allocations: 47.42 kB / 0.6716 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1581, allocations: 8 kB / 0.6716 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.1836, allocations: 4.39 MB / 0.6759 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.17, allocations: 8.703 kB / 0.6759 GB, free: 12.62 MB / 0.5137 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)