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.004819/0.004819, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001138/0.001138, allocations: 197.1 kB / 16.68 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9435/0.9435, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3594, allocations: 80.91 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002034/0.3615, allocations: 1.443 MB / 0.6656 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3625, allocations: 0.8208 MB / 0.6664 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.3626, allocations: 1.219 kB / 0.6664 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.3628, allocations: 133.4 kB / 0.6665 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.369e-05/0.3629, allocations: 69.28 kB / 0.6666 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.3634, allocations: 202.3 kB / 0.6667 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.3635, allocations: 64.92 kB / 0.6668 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.3636, allocations: 2.625 kB / 0.6668 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.489e-05/0.3636, allocations: 42.5 kB / 0.6669 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3637, allocations: 77.95 kB / 0.6669 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3637, allocations: 2.594 kB / 0.6669 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.3641, allocations: 250.2 kB / 0.6672 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.3642, allocations: 63.56 kB / 0.6672 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.3642, allocations: 59.86 kB / 0.6673 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.3645, allocations: 298.8 kB / 0.6676 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3645, allocations: 1.188 kB / 0.6676 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3645, allocations: 0 / 0.6676 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3646, allocations: 3.938 kB / 0.6676 GB, free: 4.836 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.0005367/0.3651, allocations: 0.5062 MB / 0.6681 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3651, allocations: 8.938 kB / 0.6681 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.151e-05/0.3652, allocations: 36.09 kB / 0.6681 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.3652, allocations: 20.64 kB / 0.6681 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.3654, allocations: 261.8 kB / 0.6684 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.3654, allocations: 13.19 kB / 0.6684 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.3654, allocations: 1.219 kB / 0.6684 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3656, allocations: 79.92 kB / 0.6685 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3656, allocations: 0 / 0.6685 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.3656, allocations: 0 / 0.6685 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3656, allocations: 1.156 kB / 0.6685 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.3658, allocations: 86.52 kB / 0.6686 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.3663, allocations: 402.9 kB / 0.6689 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.3664, allocations: 92.56 kB / 0.669 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.803e-05/0.3665, allocations: 47.97 kB / 0.6691 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.3665, allocations: 22.02 kB / 0.6691 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.069e-05/0.3666, allocations: 34.56 kB / 0.6691 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3666, allocations: 0 / 0.6691 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003832/0.367, allocations: 174.9 kB / 0.6693 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.367, allocations: 60.8 kB / 0.6694 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.3673, allocations: 352.4 kB / 0.6697 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.3673, allocations: 25.7 kB / 0.6697 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.3673, allocations: 140.5 kB / 0.6698 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.3674, allocations: 5.391 kB / 0.6699 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.3674, allocations: 27.11 kB / 0.6699 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.3674, allocations: 342.2 kB / 0.6702 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3676, allocations: 96.78 kB / 0.6703 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.3677, allocations: 93.41 kB / 0.6704 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.368, allocations: 211.8 kB / 0.6706 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.368, allocations: 1.5 kB / 0.6706 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003253/0.3683, allocations: 251.7 kB / 0.6708 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3684, allocations: 5.031 kB / 0.6708 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3684, allocations: 5.219 kB / 0.6708 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3684, allocations: 0 / 0.6708 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.3685, allocations: 9.953 kB / 0.6709 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3685, allocations: 5.438 kB / 0.6709 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.3685, allocations: 20.97 kB / 0.6709 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.3686, allocations: 4.844 kB / 0.6709 GB, free: 2.379 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 7.49e-05/0.3686, allocations: 141.8 kB / 0.671 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.3687, allocations: 20.36 kB / 0.671 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.3689, allocations: 139.6 kB / 0.6712 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.369, allocations: 5.188 kB / 0.6712 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.369, allocations: 0 / 0.6712 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.369, allocations: 0 / 0.6712 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.3691, allocations: 252.2 kB / 0.6714 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3692, allocations: 0 / 0.6714 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.3692, allocations: 13.92 kB / 0.6714 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3692, allocations: 0 / 0.6714 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.3692, allocations: 1.094 kB / 0.6714 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3692, allocations: 0 / 0.6714 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3692, allocations: 1 kB / 0.6714 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.3695, allocations: 238.5 kB / 0.6717 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.3696, allocations: 104.8 kB / 0.6718 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.3696, allocations: 0 / 0.6718 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.3697, allocations: 4.219 kB / 0.6718 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.3697, allocations: 5.047 kB / 0.6718 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.3697, allocations: 1.125 kB / 0.6718 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001963/0.3699, allocations: 256.5 kB / 0.672 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3699, allocations: 0 / 0.672 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003223/0.3703, allocations: 79.66 kB / 0.6721 GB, free: 1.457 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.0005407/0.3708, allocations: 0.8151 MB / 0.6729 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.3711, allocations: 163.4 kB / 0.673 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3711, allocations: 0 / 0.673 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.3712, allocations: 49.55 kB / 0.6731 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3715, allocations: 13.06 kB / 0.6731 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.3741, allocations: 2.728 MB / 0.6758 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3744, allocations: 0.7366 MB / 0.6765 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4e-05/0.3744, allocations: 20.05 kB / 0.6765 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.3745, allocations: 53.3 kB / 0.6766 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.3745, allocations: 0 / 0.6766 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.3965, allocations: 4.399 MB / 0.6808 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.791, allocations: 11.05 kB / 0.6809 GB, free: 11.96 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)