Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 177.3 kB / 325.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008619/0.0008621, allocations: 103.9 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004568, allocations: 12.38 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0008632/0.2124, allocations: 378.9 kB / 0.8966 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004157/0.2128, allocations: 207.9 kB / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.2128, allocations: 4 kB / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.2129, allocations: 0 / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.2131, allocations: 7.922 kB / 0.8968 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.2132, allocations: 67.83 kB / 0.8968 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.2133, allocations: 27.86 kB / 0.8969 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.2133, allocations: 8.266 kB / 0.8969 GB, free: 67.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.964e-05/0.2134, allocations: 11.94 kB / 0.8969 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.778e-05/0.2135, allocations: 27.89 kB / 0.8969 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.2135, allocations: 4 kB / 0.8969 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.2136, allocations: 111.7 kB / 0.897 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.2136, allocations: 8 kB / 0.897 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.2137, allocations: 11.86 kB / 0.897 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.2138, allocations: 107.8 kB / 0.8971 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2138, allocations: 0 / 0.8971 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2138, allocations: 0 / 0.8971 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2139, allocations: 0 / 0.8971 GB, free: 67.07 MB / 0.6042 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.0004554/0.2143, allocations: 367.4 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.2144, allocations: 12.03 kB / 0.8975 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.2144, allocations: 30.75 kB / 0.8975 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.2144, allocations: 8.922 kB / 0.8975 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2146, allocations: 184.2 kB / 0.8977 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2146, allocations: 4.375 kB / 0.8977 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.2146, allocations: 384 / 0.8977 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.2148, allocations: 62.17 kB / 0.8978 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.2148, allocations: 7.938 kB / 0.8978 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.2148, allocations: 0 / 0.8978 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2148, allocations: 3.984 kB / 0.8978 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2149, allocations: 39.97 kB / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.2151, allocations: 245 kB / 0.8981 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.2153, allocations: 82.41 kB / 0.8982 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.358e-05/0.2154, allocations: 32.94 kB / 0.8982 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.2154, allocations: 7.984 kB / 0.8982 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.2154, allocations: 30.56 kB / 0.8982 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2155, allocations: 0 / 0.8982 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.02515/0.2406, allocations: 1.757 MB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.2407, allocations: 55.41 kB / 0.9 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.2408, allocations: 125.7 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.2408, allocations: 25.7 kB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.2409, allocations: 95.97 kB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.2409, allocations: 19.72 kB / 0.9002 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.241, allocations: 17.7 kB / 0.9003 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.2411, allocations: 318.8 kB / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.2415, allocations: 167.8 kB / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.2419, allocations: 163.9 kB / 0.9009 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/0.2428, allocations: 328.8 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.2428, allocations: 0 / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001038/0.2438, allocations: 385.3 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2439, allocations: 8 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2439, allocations: 0 / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2439, allocations: 4 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.2454, allocations: 75.89 kB / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2454, allocations: 0 / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.2467, allocations: 51.95 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.2467, allocations: 7.969 kB / 0.9017 GB, free: 62.17 MB / 0.6042 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.0001482/0.2469, allocations: 125.7 kB / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.247, allocations: 4 kB / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.2471, allocations: 17.03 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2471, allocations: 4 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2471, allocations: 0 / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2471, allocations: 3.984 kB / 0.9018 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005192/0.2523, allocations: 0.9119 MB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2524, allocations: 8.062 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.2534, allocations: 71.89 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2534, allocations: 3.938 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.2534, allocations: 11.92 kB / 0.9028 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.2534, allocations: 8 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2535, allocations: 0 / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008045/0.2543, allocations: 381 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.2543, allocations: 77.11 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.2544, allocations: 7.938 kB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/0.2553, allocations: 55.88 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.2554, allocations: 4 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.2554, allocations: 11.97 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.2555, allocations: 95.22 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2555, allocations: 0 / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003416/0.2558, allocations: 95.98 kB / 0.9035 GB, free: 60.18 MB / 0.6042 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.001045/0.2569, allocations: 0.9169 MB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000821/0.2577, allocations: 287.8 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2577, allocations: 0 / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.2581, allocations: 119.8 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.2584, allocations: 8 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005485/0.2638, allocations: 2.815 MB / 0.9076 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.264, allocations: 0.6887 MB / 0.9082 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000488/0.2645, allocations: 52 kB / 0.9083 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.2649, allocations: 39.83 kB / 0.9083 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.2649, allocations: 4 kB / 0.9083 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.2813, allocations: 9.288 MB / 0.9174 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/0.2815, allocations: 235.3 kB / 0.9176 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.254, allocations: 1.406 kB / 0.9176 GB, free: 45.67 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)