Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006886/0.006886, allocations: 99.64 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.00189/0.00189, allocations: 192 kB / 16.67 MB, free: 5.961 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.599/1.599, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002181/0.002181, allocations: 287.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.046/1.046, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 103.8 kB / 0.6815 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6038/0.6055, allocations: 86.97 MB / 0.7664 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002556/0.6081, allocations: 1.434 MB / 0.7678 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.6095, allocations: 0.8324 MB / 0.7686 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.6096, allocations: 3.938 kB / 0.7686 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.6098, allocations: 123.8 kB / 0.7687 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.6099, allocations: 75.81 kB / 0.7688 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.6106, allocations: 193.5 kB / 0.769 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.6107, allocations: 67.88 kB / 0.769 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.6108, allocations: 7.781 kB / 0.769 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.394e-05/0.6108, allocations: 39.89 kB / 0.7691 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.6109, allocations: 79.84 kB / 0.7692 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.611, allocations: 7.938 kB / 0.7692 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.6114, allocations: 255.6 kB / 0.7694 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.6115, allocations: 59.83 kB / 0.7695 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.6116, allocations: 59.48 kB / 0.7695 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.6119, allocations: 288.8 kB / 0.7698 GB, free: 472 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.612, allocations: 0 / 0.7698 GB, free: 472 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.612, allocations: 4 kB / 0.7698 GB, free: 468 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.612, allocations: 0 / 0.7698 GB, free: 468 kB / 0.5294 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.0007416/0.6127, allocations: 0.5096 MB / 0.7703 GB, free: 15.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.6128, allocations: 8.031 kB / 0.7703 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.6128, allocations: 20.8 kB / 0.7703 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.6131, allocations: 271.8 kB / 0.7706 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.6131, allocations: 384 / 0.7706 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.6131, allocations: 3.938 kB / 0.7706 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.6133, allocations: 81.66 kB / 0.7707 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6133, allocations: 0 / 0.7707 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.6133, allocations: 0 / 0.7707 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.6134, allocations: 0 / 0.7707 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.6136, allocations: 87.88 kB / 0.7708 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.6141, allocations: 396.7 kB / 0.7711 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.6142, allocations: 102.5 kB / 0.7712 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.6e-05/0.6143, allocations: 44.89 kB / 0.7713 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.6144, allocations: 19.73 kB / 0.7713 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.6144, allocations: 30.56 kB / 0.7713 GB, free: 14.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.6144, allocations: 0 / 0.7713 GB, free: 14.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004029/0.6148, allocations: 185.5 kB / 0.7715 GB, free: 14.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.6149, allocations: 55.34 kB / 0.7715 GB, free: 14.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.6152, allocations: 351.2 kB / 0.7719 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.6153, allocations: 25.7 kB / 0.7719 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.6154, allocations: 140 kB / 0.772 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.6154, allocations: 7.953 kB / 0.7721 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.6154, allocations: 33.81 kB / 0.7721 GB, free: 13.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6156, allocations: 342.8 kB / 0.7724 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.6158, allocations: 91.95 kB / 0.7725 GB, free: 13.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.6159, allocations: 95.94 kB / 0.7726 GB, free: 13.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.6162, allocations: 207.7 kB / 0.7728 GB, free: 13.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6162, allocations: 0 / 0.7728 GB, free: 13.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003423/0.6166, allocations: 261.3 kB / 0.773 GB, free: 12.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.6166, allocations: 4 kB / 0.773 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6166, allocations: 0 / 0.773 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6166, allocations: 0 / 0.773 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.6167, allocations: 15.92 kB / 0.7731 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.6167, allocations: 0 / 0.7731 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.6168, allocations: 15.84 kB / 0.7731 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.6168, allocations: 7.984 kB / 0.7731 GB, free: 12.88 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 (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.0001059/0.6169, allocations: 152.2 kB / 0.7732 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.617, allocations: 19.86 kB / 0.7732 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.6173, allocations: 142.6 kB / 0.7734 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6173, allocations: 0 / 0.7734 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.6173, allocations: 0 / 0.7734 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6173, allocations: 0 / 0.7734 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.6175, allocations: 245.5 kB / 0.7736 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6175, allocations: 7.969 kB / 0.7736 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.6176, allocations: 7.984 kB / 0.7736 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6176, allocations: 7.938 kB / 0.7736 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.6176, allocations: 0 / 0.7736 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6176, allocations: 4 kB / 0.7736 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6176, allocations: 0 / 0.7736 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.618, allocations: 239.3 kB / 0.7739 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.618, allocations: 101 kB / 0.774 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.6181, allocations: 0 / 0.774 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.6182, allocations: 7.984 kB / 0.774 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.6182, allocations: 0 / 0.774 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.6182, allocations: 0 / 0.774 GB, free: 11.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002312/0.6184, allocations: 253.9 kB / 0.7742 GB, free: 11.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6184, allocations: 0 / 0.7742 GB, free: 11.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003383/0.6188, allocations: 75.81 kB / 0.7743 GB, free: 11.55 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.000305/0.6191, allocations: 159.1 kB / 0.7744 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.6194, allocations: 159.9 kB / 0.7746 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6194, allocations: 0 / 0.7746 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.436e-05/0.6195, allocations: 39.97 kB / 0.7746 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.6199, allocations: 15.16 kB / 0.7746 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005822/0.6204, allocations: 379.6 kB / 0.775 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.6208, allocations: 0.7397 MB / 0.7757 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.48e-05/0.6208, allocations: 20.55 kB / 0.7757 GB, free: 9.996 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.6209, allocations: 15.44 kB / 0.7758 GB, free: 9.98 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6209, allocations: 0 / 0.7758 GB, free: 9.98 MB / 0.545 GB Notification: Performance of Templates: time 0.005481/0.6264, allocations: 2.223 MB / 0.7779 GB, free: 7.758 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1)