Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007906/0.0007906, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005517/0.005518, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005639/0.0005637, allocations: 16.59 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2085, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0008661/0.2094, allocations: 371.3 kB / 0.7882 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005664/0.21, allocations: 203.2 kB / 0.7884 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.2101, allocations: 0 / 0.7884 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.2101, allocations: 0 / 0.7884 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.2103, allocations: 3.938 kB / 0.7884 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.2106, allocations: 63.83 kB / 0.7885 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.2107, allocations: 23.97 kB / 0.7885 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.253e-05/0.2107, allocations: 15.98 kB / 0.7885 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.849e-05/0.2108, allocations: 11.94 kB / 0.7885 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.586e-05/0.2109, allocations: 23.91 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.2109, allocations: 3.938 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.2111, allocations: 111.8 kB / 0.7887 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.2111, allocations: 11.86 kB / 0.7887 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.2112, allocations: 41.62 kB / 0.7887 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.2114, allocations: 103.8 kB / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2114, allocations: 0 / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2114, allocations: 0 / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2114, allocations: 0 / 0.7888 GB, free: 10.59 MB / 0.6075 GB 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.0005623/0.212, allocations: 363.7 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.212, allocations: 8.031 kB / 0.7892 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.2121, allocations: 16.77 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.2123, allocations: 168.3 kB / 0.7894 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.2123, allocations: 384 / 0.7894 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.2123, allocations: 8.375 kB / 0.7894 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.2125, allocations: 54.23 kB / 0.7894 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.2125, allocations: 4.172 kB / 0.7894 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.2126, allocations: 7.938 kB / 0.7894 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2126, allocations: 4 kB / 0.7894 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.2127, allocations: 39.97 kB / 0.7895 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.2131, allocations: 248.8 kB / 0.7897 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.2133, allocations: 94.39 kB / 0.7898 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2134, allocations: 28.92 kB / 0.7898 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2135, allocations: 4 kB / 0.7898 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.2135, allocations: 34.56 kB / 0.7899 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2135, allocations: 0 / 0.7899 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.03021/0.2437, allocations: 1.757 MB / 0.7916 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.2438, allocations: 51.41 kB / 0.7916 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.2439, allocations: 121.7 kB / 0.7917 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.311e-05/0.244, allocations: 29.7 kB / 0.7918 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.244, allocations: 92.11 kB / 0.7919 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.2441, allocations: 27.56 kB / 0.7919 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.2442, allocations: 21.7 kB / 0.7919 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2443, allocations: 318.8 kB / 0.7922 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.2449, allocations: 155.9 kB / 0.7924 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.2454, allocations: 163.9 kB / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.2465, allocations: 332.8 kB / 0.7928 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2465, allocations: 0 / 0.7928 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001267/0.2477, allocations: 385.4 kB / 0.7932 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2478, allocations: 4 kB / 0.7932 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2478, allocations: 0 / 0.7932 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.2478, allocations: 0 / 0.7932 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.2495, allocations: 79.89 kB / 0.7933 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2495, allocations: 3.938 kB / 0.7933 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.2511, allocations: 55.95 kB / 0.7933 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/0.2511, allocations: 12.62 kB / 0.7934 GB, free: 5.723 MB / 0.6075 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.000189/0.2513, allocations: 121.7 kB / 0.7935 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.2514, allocations: 3.906 kB / 0.7935 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.2516, allocations: 20.38 kB / 0.7935 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.2516, allocations: 3.984 kB / 0.7935 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2516, allocations: 0 / 0.7935 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2516, allocations: 0 / 0.7935 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006188/0.2578, allocations: 0.9193 MB / 0.7944 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2578, allocations: 0 / 0.7944 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.2591, allocations: 71.84 kB / 0.7945 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2591, allocations: 0 / 0.7945 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.2592, allocations: 7.984 kB / 0.7945 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2592, allocations: 8 kB / 0.7945 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2592, allocations: 4 kB / 0.7945 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009975/0.2602, allocations: 369.1 kB / 0.7948 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.2602, allocations: 85.02 kB / 0.7949 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.2603, allocations: 7.984 kB / 0.7949 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.2615, allocations: 55.83 kB / 0.795 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.2615, allocations: 4 kB / 0.795 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.2616, allocations: 11.97 kB / 0.795 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.19e-05/0.2616, allocations: 91.28 kB / 0.7951 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2616, allocations: 0 / 0.7951 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004024/0.2621, allocations: 95.98 kB / 0.7952 GB, free: 3.746 MB / 0.6075 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.000216/0.2623, allocations: 115.2 kB / 0.7953 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.2633, allocations: 287.8 kB / 0.7956 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2633, allocations: 0 / 0.7956 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.2638, allocations: 120 kB / 0.7957 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.2641, allocations: 4 kB / 0.7957 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.267, allocations: 360.3 kB / 0.796 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.2673, allocations: 0.6809 MB / 0.7967 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00049/0.2678, allocations: 55.98 kB / 0.7967 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.2682, allocations: 31.38 kB / 0.7968 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.2682, allocations: 0 / 0.7968 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of Templates: time 0.01217/0.2804, allocations: 8.421 MB / 0.805 GB, free: 9.582 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) Environment - environmentSimulation: