Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00136/0.00136, allocations: 200.4 kB / 16.14 MB, free: 6.637 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002644/0.002644, allocations: 287.1 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.108/1.108, allocations: 178.6 MB / 0.5068 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002738, allocations: 97.69 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1587, allocations: 89.15 MB / 0.6928 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001772/0.1605, allocations: 0.6993 MB / 0.6935 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004173/0.161, allocations: 201.2 kB / 0.6937 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.633e-05/0.161, allocations: 0 / 0.6937 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.161, allocations: 0 / 0.6937 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.1611, allocations: 7.938 kB / 0.6937 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.1613, allocations: 67.81 kB / 0.6937 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.1614, allocations: 27.92 kB / 0.6938 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.1614, allocations: 4 kB / 0.6938 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.1614, allocations: 16.69 kB / 0.6938 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.1615, allocations: 19.92 kB / 0.6938 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1615, allocations: 8 kB / 0.6938 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1617, allocations: 107.7 kB / 0.6939 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.1617, allocations: 11.98 kB / 0.6939 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.1617, allocations: 19.8 kB / 0.694 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.1619, allocations: 99.81 kB / 0.694 GB, free: 3.539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1619, allocations: 0 / 0.694 GB, free: 3.539 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1619, allocations: 0 / 0.694 GB, free: 3.539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1619, allocations: 0 / 0.694 GB, free: 3.539 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005012/0.1624, allocations: 373.1 kB / 0.6944 GB, free: 3.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.1625, allocations: 8.031 kB / 0.6944 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.1625, allocations: 12.84 kB / 0.6944 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.1627, allocations: 180.2 kB / 0.6946 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1627, allocations: 384 / 0.6946 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.1627, allocations: 4.375 kB / 0.6946 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1629, allocations: 50.23 kB / 0.6946 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1629, allocations: 192 / 0.6946 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1629, allocations: 3.938 kB / 0.6947 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1629, allocations: 4 kB / 0.6947 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.163, allocations: 39.95 kB / 0.6947 GB, free: 2.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.1633, allocations: 244.9 kB / 0.6949 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.1636, allocations: 78.39 kB / 0.695 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.98e-05/0.1636, allocations: 24.94 kB / 0.695 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1637, allocations: 3.938 kB / 0.695 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1637, allocations: 38.55 kB / 0.6951 GB, free: 2.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1637, allocations: 3.938 kB / 0.6951 GB, free: 2.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02963/0.1933, allocations: 1.613 MB / 0.6966 GB, free: 0.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.1934, allocations: 51.41 kB / 0.6967 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1935, allocations: 117.8 kB / 0.6968 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.856e-05/0.1936, allocations: 29.69 kB / 0.6968 GB, free: 496 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.1937, allocations: 84.14 kB / 0.6969 GB, free: 408 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/0.1938, allocations: 27.56 kB / 0.6969 GB, free: 380 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.194, allocations: 29.64 kB / 0.697 GB, free: 344 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1941, allocations: 326.8 kB / 0.6973 GB, free: 8 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005393/0.1947, allocations: 139.9 kB / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.1952, allocations: 143.9 kB / 0.6975 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.1962, allocations: 296.8 kB / 0.6978 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1962, allocations: 0 / 0.6978 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001256/0.1975, allocations: 334 kB / 0.6982 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1975, allocations: 8 kB / 0.6982 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1975, allocations: 0 / 0.6982 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1976, allocations: 4 kB / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.1992, allocations: 60.03 kB / 0.6982 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1992, allocations: 7.922 kB / 0.6982 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.2007, allocations: 39.95 kB / 0.6983 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.2008, allocations: 4 kB / 0.6983 GB, free: 14.98 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 (9): * Single equations (assignments): 9 * 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.0001913/0.201, allocations: 125.7 kB / 0.6984 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.201, allocations: 0 / 0.6984 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.2012, allocations: 20.38 kB / 0.6984 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2012, allocations: 4 kB / 0.6984 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2012, allocations: 0 / 0.6984 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2012, allocations: 0 / 0.6984 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005898/0.2071, allocations: 0.8415 MB / 0.6992 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2071, allocations: 4 kB / 0.6992 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.2083, allocations: 59.94 kB / 0.6993 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2083, allocations: 0 / 0.6993 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.2084, allocations: 11.92 kB / 0.6993 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.2084, allocations: 3.938 kB / 0.6993 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2084, allocations: 80 / 0.6993 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009868/0.2094, allocations: 329.1 kB / 0.6996 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.2094, allocations: 81.11 kB / 0.6997 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.2095, allocations: 4 kB / 0.6997 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.2106, allocations: 43.89 kB / 0.6997 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.2106, allocations: 7.922 kB / 0.6998 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.2107, allocations: 8 kB / 0.6998 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.413e-05/0.2107, allocations: 95.27 kB / 0.6999 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2107, allocations: 0 / 0.6999 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004024/0.2111, allocations: 88 kB / 0.6999 GB, free: 13.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0002169/0.2114, allocations: 123.2 kB / 0.7001 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.2124, allocations: 239.8 kB / 0.7003 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2124, allocations: 0 / 0.7003 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.2128, allocations: 100 kB / 0.7004 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.2131, allocations: 8.469 kB / 0.7004 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.2159, allocations: 316.2 kB / 0.7007 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.2162, allocations: 0.6926 MB / 0.7014 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005297/0.2168, allocations: 48 kB / 0.7014 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/0.2172, allocations: 15.42 kB / 0.7014 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2173, allocations: 3.938 kB / 0.7014 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.0122/0.2295, allocations: 8.287 MB / 0.7095 GB, free: 3.234 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)