Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="IDEAS_dev_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.005961/0.005961, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001644/0.001644, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8611/0.8611, allocations: 135.6 MB / 426.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 72.89 kB / 0.5857 GB, free: 21.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.136, allocations: 81.02 MB / 0.6649 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002488/0.1385, allocations: 1.434 MB / 0.6663 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1399, allocations: 0.8267 MB / 0.6671 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.14, allocations: 0 / 0.6671 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.1402, allocations: 127.8 kB / 0.6672 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.1403, allocations: 67.83 kB / 0.6673 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006325/0.1409, allocations: 199.5 kB / 0.6674 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.1411, allocations: 59.88 kB / 0.6675 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.1411, allocations: 0 / 0.6675 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.002e-05/0.1412, allocations: 47.81 kB / 0.6676 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1413, allocations: 79.84 kB / 0.6676 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1413, allocations: 4 kB / 0.6676 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.1418, allocations: 251.7 kB / 0.6679 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/0.1419, allocations: 67.81 kB / 0.6679 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.142, allocations: 55.48 kB / 0.668 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.1424, allocations: 291.2 kB / 0.6683 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1424, allocations: 3.938 kB / 0.6683 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1424, allocations: 0 / 0.6683 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1424, allocations: 0 / 0.6683 GB, free: 2.109 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.0007083/0.1431, allocations: 0.5135 MB / 0.6688 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1432, allocations: 9.109 kB / 0.6688 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.1432, allocations: 42.69 kB / 0.6688 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.1433, allocations: 20.8 kB / 0.6688 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1436, allocations: 263.8 kB / 0.6691 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1436, allocations: 4.125 kB / 0.6691 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1436, allocations: 7.984 kB / 0.6691 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1438, allocations: 69.67 kB / 0.6692 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1438, allocations: 0 / 0.6692 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.1438, allocations: 0 / 0.6692 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1438, allocations: 0 / 0.6692 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.1441, allocations: 91.92 kB / 0.6693 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.1446, allocations: 396.7 kB / 0.6696 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1448, allocations: 90.52 kB / 0.6697 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.145, allocations: 52.89 kB / 0.6698 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.145, allocations: 19.73 kB / 0.6698 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.145, allocations: 34.56 kB / 0.6698 GB, free: 352 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.145, allocations: 0 / 0.6698 GB, free: 352 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000455/0.1455, allocations: 177.4 kB / 0.67 GB, free: 168 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1456, allocations: 51.41 kB / 0.67 GB, free: 104 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.146, allocations: 359.4 kB / 0.6704 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.146, allocations: 29.7 kB / 0.6704 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1461, allocations: 136.1 kB / 0.6705 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.1461, allocations: 7.953 kB / 0.6706 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1462, allocations: 25.7 kB / 0.6706 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.1463, allocations: 338.8 kB / 0.6709 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.1465, allocations: 91.95 kB / 0.671 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.1467, allocations: 99.94 kB / 0.6711 GB, free: 15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.147, allocations: 206.7 kB / 0.6713 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.147, allocations: 0 / 0.6713 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004223/0.1475, allocations: 257.3 kB / 0.6715 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1475, allocations: 4 kB / 0.6715 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1475, allocations: 0 / 0.6715 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1475, allocations: 4 kB / 0.6715 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.1476, allocations: 11.98 kB / 0.6715 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1476, allocations: 0 / 0.6715 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.1477, allocations: 19.88 kB / 0.6716 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1477, allocations: 7.938 kB / 0.6716 GB, free: 14.5 MB / 0.5137 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.0001371/0.1479, allocations: 145.7 kB / 0.6717 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.1479, allocations: 27.88 kB / 0.6717 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.1483, allocations: 146.5 kB / 0.6719 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1483, allocations: 0 / 0.6719 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1483, allocations: 0 / 0.6719 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1483, allocations: 4 kB / 0.6719 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.1486, allocations: 241.5 kB / 0.6721 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1486, allocations: 0 / 0.6721 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.1487, allocations: 15.98 kB / 0.6721 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1487, allocations: 0 / 0.6721 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1487, allocations: 4 kB / 0.6721 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1487, allocations: 32 / 0.6721 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1487, allocations: 4 kB / 0.6721 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.1491, allocations: 235.2 kB / 0.6724 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.1492, allocations: 104.9 kB / 0.6725 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.1492, allocations: 0 / 0.6725 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.1493, allocations: 7.984 kB / 0.6725 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.1493, allocations: 8.031 kB / 0.6725 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1494, allocations: 4 kB / 0.6725 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00027/0.1496, allocations: 253.8 kB / 0.6727 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1496, allocations: 0 / 0.6727 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003812/0.15, allocations: 67.88 kB / 0.6728 GB, free: 13.15 MB / 0.5137 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.0008725/0.1509, allocations: 0.8215 MB / 0.6736 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.1513, allocations: 159.8 kB / 0.6737 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1513, allocations: 0 / 0.6737 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.1514, allocations: 47.97 kB / 0.6738 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1517, allocations: 12.75 kB / 0.6738 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.155, allocations: 2.729 MB / 0.6765 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.1554, allocations: 0.7353 MB / 0.6772 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.819e-05/0.1554, allocations: 16.55 kB / 0.6772 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.1555, allocations: 55.42 kB / 0.6772 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.1555, allocations: 0 / 0.6772 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.1812, allocations: 4.401 MB / 0.6815 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.253, allocations: 4.594 kB / 0.6816 GB, free: 4.168 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_Interpolate.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1)