Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.004489/0.004489, allocations: 99.44 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.001245/0.001245, allocations: 192.5 kB / 16.67 MB, free: 5.926 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.421/1.421, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002528/0.002528, allocations: 294.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.259/1.259, allocations: 178.5 MB / 0.5074 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 99.86 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4607, allocations: 89.13 MB / 0.7813 GB, free: 1.125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.00224/0.463, allocations: 1.479 MB / 0.7828 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.4643, allocations: 0.7751 MB / 0.7836 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.4644, allocations: 1.125 kB / 0.7836 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.4647, allocations: 130.5 kB / 0.7837 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.4652, allocations: 178.2 kB / 0.7838 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.4654, allocations: 82.22 kB / 0.7839 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.4655, allocations: 66.34 kB / 0.784 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.796e-05/0.4656, allocations: 2.844 kB / 0.784 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.4657, allocations: 43.31 kB / 0.784 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.4658, allocations: 88.19 kB / 0.7841 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.4658, allocations: 2.875 kB / 0.7841 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.4662, allocations: 227 kB / 0.7843 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.4664, allocations: 110.2 kB / 0.7844 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.4665, allocations: 88.44 kB / 0.7845 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.4669, allocations: 349.2 kB / 0.7849 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.4669, allocations: 9.062 kB / 0.7849 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4669, allocations: 0 / 0.7849 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4669, allocations: 0 / 0.7849 GB, free: 14.61 MB / 0.5606 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.0008646/0.4678, allocations: 0.6272 MB / 0.7855 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4678, allocations: 9.469 kB / 0.7855 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.4679, allocations: 31.75 kB / 0.7855 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.157e-05/0.468, allocations: 34.64 kB / 0.7856 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.469, allocations: 0.9181 MB / 0.7864 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.469, allocations: 1.531 kB / 0.7864 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.469, allocations: 5.438 kB / 0.7865 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.4692, allocations: 86.59 kB / 0.7865 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4692, allocations: 0 / 0.7865 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.4693, allocations: 0 / 0.7865 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4693, allocations: 1.062 kB / 0.7865 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.4695, allocations: 108 kB / 0.7866 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008591/0.4704, allocations: 0.5832 MB / 0.7872 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.4706, allocations: 100.8 kB / 0.7873 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.4708, allocations: 55.55 kB / 0.7874 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.056e-05/0.4708, allocations: 26.58 kB / 0.7874 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4709, allocations: 31.62 kB / 0.7874 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.4709, allocations: 4 kB / 0.7874 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005443/0.4714, allocations: 213.2 kB / 0.7876 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.4715, allocations: 51.41 kB / 0.7877 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.473, allocations: 1.212 MB / 0.7889 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.473, allocations: 25.7 kB / 0.7889 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.4732, allocations: 175.8 kB / 0.789 GB, free: 12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.4733, allocations: 13.39 kB / 0.7891 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.4733, allocations: 16.77 kB / 0.7891 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4735, allocations: 353 kB / 0.7894 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.4736, allocations: 49.83 kB / 0.7895 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.4737, allocations: 50.81 kB / 0.7895 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.474, allocations: 113.8 kB / 0.7896 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.474, allocations: 0 / 0.7896 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003037/0.4743, allocations: 162.5 kB / 0.7898 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4743, allocations: 6.062 kB / 0.7898 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4743, allocations: 0 / 0.7898 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4743, allocations: 0 / 0.7898 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.4744, allocations: 10.8 kB / 0.7898 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.4744, allocations: 0 / 0.7898 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.5e-05/0.4745, allocations: 12.62 kB / 0.7898 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.4745, allocations: 1.219 kB / 0.7898 GB, free: 11.45 MB / 0.5606 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 (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 prepare postOptimizeDAE: time 0.0001532/0.4747, allocations: 169.8 kB / 0.79 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.4748, allocations: 37 kB / 0.79 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.4751, allocations: 178 kB / 0.7902 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4751, allocations: 1.281 kB / 0.7902 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4751, allocations: 4.031 kB / 0.7902 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4751, allocations: 0.9688 kB / 0.7902 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.4755, allocations: 298.6 kB / 0.7905 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4755, allocations: 0 / 0.7905 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.4756, allocations: 5.406 kB / 0.7905 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4756, allocations: 1.344 kB / 0.7905 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4756, allocations: 4 kB / 0.7905 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4756, allocations: 3.984 kB / 0.7905 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4756, allocations: 0.9375 kB / 0.7905 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.476, allocations: 265.7 kB / 0.7907 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.4761, allocations: 133.5 kB / 0.7909 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.4762, allocations: 0 / 0.7909 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.4763, allocations: 5.531 kB / 0.7909 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.4763, allocations: 5.266 kB / 0.7909 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.4763, allocations: 1.312 kB / 0.7909 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001099/0.4774, allocations: 0.9584 MB / 0.7918 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4775, allocations: 0 / 0.7918 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004795/0.4779, allocations: 67 kB / 0.7919 GB, free: 10.18 MB / 0.5606 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.0009844/0.4789, allocations: 0.8558 MB / 0.7927 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.4792, allocations: 107.5 kB / 0.7928 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4792, allocations: 3.938 kB / 0.7928 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4794, allocations: 52.42 kB / 0.7929 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.4797, allocations: 20.66 kB / 0.7929 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007597/0.4873, allocations: 6.756 MB / 0.7995 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.4878, allocations: 0.7791 MB / 0.8002 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.335e-05/0.4879, allocations: 42.92 kB / 0.8003 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.488, allocations: 91.41 kB / 0.8004 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of SimCode: time 2.455e-06/0.488, allocations: 0 / 0.8004 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.5173, allocations: 7.155 MB / 0.8074 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.509/10.03, allocations: 6.094 kB / 0.8074 GB, free: 13.77 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1)