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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",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.005838/0.005838, allocations: 102.9 kB / 15.73 MB, free: 6.035 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.001197/0.001197, allocations: 200.6 kB / 16.68 MB, free: 5.957 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 287 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9145/0.9145, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 92.09 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1635, allocations: 86.98 MB / 0.766 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001994/0.1655, allocations: 0.6356 MB / 0.7666 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000514/0.1661, allocations: 191.2 kB / 0.7668 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.1661, allocations: 3.938 kB / 0.7668 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.1662, allocations: 0 / 0.7668 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.1664, allocations: 15.92 kB / 0.7668 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.1667, allocations: 75.77 kB / 0.7668 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.286e-05/0.1668, allocations: 31.84 kB / 0.7669 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.116e-05/0.1668, allocations: 4 kB / 0.7669 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.1669, allocations: 15.92 kB / 0.7669 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.167, allocations: 23.91 kB / 0.7669 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.167, allocations: 0 / 0.7669 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.1672, allocations: 107.7 kB / 0.767 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.1672, allocations: 7.984 kB / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.1672, allocations: 15.88 kB / 0.767 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1674, allocations: 103.8 kB / 0.7671 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1675, allocations: 4 kB / 0.7671 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1675, allocations: 0 / 0.7671 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1675, allocations: 0 / 0.7671 GB, free: 7.672 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006113/0.1681, allocations: 375.5 kB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1681, allocations: 8.031 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.1682, allocations: 38.73 kB / 0.7675 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.1682, allocations: 4.938 kB / 0.7676 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.1684, allocations: 180.2 kB / 0.7677 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1684, allocations: 384 / 0.7677 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.1684, allocations: 8.375 kB / 0.7677 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1686, allocations: 58.16 kB / 0.7678 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1686, allocations: 3.938 kB / 0.7678 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1686, allocations: 0 / 0.7678 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1686, allocations: 4 kB / 0.7678 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1688, allocations: 31.97 kB / 0.7678 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.1691, allocations: 245 kB / 0.7681 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1693, allocations: 66.47 kB / 0.7681 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/0.1694, allocations: 32.86 kB / 0.7682 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1694, allocations: 0 / 0.7682 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1694, allocations: 38.56 kB / 0.7682 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.1694, allocations: 0 / 0.7682 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0286/0.198, allocations: 1.605 MB / 0.7698 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.1981, allocations: 55.34 kB / 0.7698 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.1982, allocations: 121.8 kB / 0.7699 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/0.1983, allocations: 29.7 kB / 0.77 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.1983, allocations: 91.98 kB / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.1984, allocations: 15.72 kB / 0.7701 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.1986, allocations: 29.7 kB / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.1987, allocations: 318.8 kB / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.1992, allocations: 143.9 kB / 0.7705 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.1996, allocations: 148.2 kB / 0.7707 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009077/0.2005, allocations: 296.9 kB / 0.771 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2005, allocations: 0 / 0.771 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001079/0.2016, allocations: 337.4 kB / 0.7713 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2016, allocations: 8 kB / 0.7713 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.2016, allocations: 0 / 0.7713 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2017, allocations: 0 / 0.7713 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.2031, allocations: 63.97 kB / 0.7713 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2032, allocations: 0 / 0.7713 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.2045, allocations: 55.94 kB / 0.7714 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.2045, allocations: 4.062 kB / 0.7714 GB, free: 3.074 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 (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.0001666/0.2047, allocations: 118.4 kB / 0.7715 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9e-05/0.2048, allocations: 7.906 kB / 0.7715 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.2049, allocations: 20.36 kB / 0.7715 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2049, allocations: 3.938 kB / 0.7715 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2049, allocations: 0 / 0.7715 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2049, allocations: 4 kB / 0.7715 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/0.2101, allocations: 0.8413 MB / 0.7724 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2102, allocations: 4 kB / 0.7724 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.2112, allocations: 56 kB / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2112, allocations: 0 / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.2113, allocations: 11.92 kB / 0.7724 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2113, allocations: 0 / 0.7724 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2113, allocations: 3.938 kB / 0.7724 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008572/0.2121, allocations: 325.1 kB / 0.7728 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.2122, allocations: 85.05 kB / 0.7728 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.029e-05/0.2123, allocations: 3.938 kB / 0.7728 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009652/0.2132, allocations: 47.94 kB / 0.7729 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.2133, allocations: 0 / 0.7729 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.2133, allocations: 8 kB / 0.7729 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.743e-05/0.2134, allocations: 99.3 kB / 0.773 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2134, allocations: 0 / 0.773 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000399/0.2138, allocations: 92 kB / 0.7731 GB, free: 1.25 MB / 0.5606 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.001218/0.215, allocations: 0.874 MB / 0.7739 GB, free: 352 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009031/0.2159, allocations: 247.8 kB / 0.7742 GB, free: 104 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2159, allocations: 0 / 0.7742 GB, free: 104 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.2163, allocations: 95.88 kB / 0.7743 GB, free: 8 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.2166, allocations: 4 kB / 0.7743 GB, free: 4 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3154/0.532, allocations: 2.673 MB / 0.7769 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.5321, allocations: 0.6894 MB / 0.7775 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003736/0.5325, allocations: 53.17 kB / 0.7776 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/0.5329, allocations: 21.06 kB / 0.7776 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.5329, allocations: 0 / 0.7776 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.5604, allocations: 10.24 MB / 0.7876 GB, free: 12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/7.967, allocations: 10.88 kB / 0.7876 GB, free: 11.99 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)