Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009916/0.0009917, allocations: 179.2 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4563/0.4563, allocations: 90.8 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 221.3 MB / 348.3 MB, free: 432 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008315/0.0008314, allocations: 101.9 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.251e-05/5.26e-05, allocations: 4 kB / 0.4897 GB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3526, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.4684, allocations: 102.3 MB / 0.6602 GB, free: 1.996 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.4687, allocations: 80.8 kB / 0.6603 GB, free: 1.918 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009132/0.4778, allocations: 3.214 MB / 0.6634 GB, free: 14.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4778, allocations: 3.938 kB / 0.6634 GB, free: 14.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.4778, allocations: 0 / 0.6634 GB, free: 14.71 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003492/0.4782, allocations: 439 kB / 0.6639 GB, free: 14.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4782, allocations: 11.98 kB / 0.6639 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.4783, allocations: 30.56 kB / 0.6639 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.4783, allocations: 11.86 kB / 0.6639 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.4784, allocations: 171.2 kB / 0.6641 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.4785, allocations: 4 kB / 0.6641 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.4785, allocations: 4 kB / 0.6641 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.4786, allocations: 97.64 kB / 0.6642 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.4786, allocations: 0 / 0.6642 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4787, allocations: 9.234 kB / 0.6642 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.4787, allocations: 0 / 0.6642 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.544e-05/0.4788, allocations: 63.91 kB / 0.6642 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.4789, allocations: 181.5 kB / 0.6644 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.574e-05/0.479, allocations: 82.53 kB / 0.6645 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.009e-05/0.4791, allocations: 73.77 kB / 0.6646 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.4791, allocations: 0 / 0.6646 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.4791, allocations: 30.56 kB / 0.6646 GB, free: 13.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4791, allocations: 0 / 0.6646 GB, free: 13.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002714/0.4794, allocations: 191.2 kB / 0.6648 GB, free: 13.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.4795, allocations: 77.11 kB / 0.6649 GB, free: 13.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.4796, allocations: 139.2 kB / 0.665 GB, free: 12.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.4796, allocations: 25.7 kB / 0.665 GB, free: 12.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.4797, allocations: 96.03 kB / 0.6651 GB, free: 12.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.4797, allocations: 10.81 kB / 0.6651 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.4797, allocations: 4 kB / 0.6651 GB, free: 12.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.4798, allocations: 318.8 kB / 0.6654 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.4799, allocations: 95.94 kB / 0.6655 GB, free: 12.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.48, allocations: 95.94 kB / 0.6656 GB, free: 12.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.4802, allocations: 163.4 kB / 0.6658 GB, free: 12.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4802, allocations: 3.984 kB / 0.6658 GB, free: 12.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003179/0.4805, allocations: 308.8 kB / 0.6661 GB, free: 11.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.4806, allocations: 72.33 kB / 0.6661 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4806, allocations: 0 / 0.6661 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.4806, allocations: 0 / 0.6661 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-06/0.4806, allocations: 3.984 kB / 0.6661 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.4806, allocations: 0 / 0.6661 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.897e-05/0.4807, allocations: 17.34 kB / 0.6661 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.4807, allocations: 11.94 kB / 0.6662 GB, free: 11.65 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.615e-05/0.4808, allocations: 142.7 kB / 0.6663 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.4808, allocations: 11.91 kB / 0.6663 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.682e-05/0.4808, allocations: 8.031 kB / 0.6663 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.4808, allocations: 0 / 0.6663 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4809, allocations: 0 / 0.6663 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.4809, allocations: 0 / 0.6663 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.481, allocations: 177.6 kB / 0.6665 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.481, allocations: 0 / 0.6665 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.481, allocations: 0 / 0.6665 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.481, allocations: 0 / 0.6665 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.481, allocations: 8 kB / 0.6665 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.481, allocations: 1.25 kB / 0.6665 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.481, allocations: 0 / 0.6665 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.4813, allocations: 230.5 kB / 0.6667 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.4813, allocations: 77.11 kB / 0.6668 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.4814, allocations: 4 kB / 0.6668 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.694e-05/0.4814, allocations: 9.203 kB / 0.6668 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.4815, allocations: 12.03 kB / 0.6668 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.4815, allocations: 0 / 0.6668 GB, free: 10.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.263e-05/0.4816, allocations: 116.6 kB / 0.6669 GB, free: 10.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4816, allocations: 0 / 0.6669 GB, free: 10.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.4818, allocations: 67.94 kB / 0.667 GB, free: 10.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007311/0.4826, allocations: 0.8209 MB / 0.6678 GB, free: 9.836 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003702/0.483, allocations: 366.7 kB / 0.6681 GB, free: 9.453 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.483, allocations: 0 / 0.6681 GB, free: 9.453 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.4831, allocations: 135.3 kB / 0.6683 GB, free: 9.309 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.803e-05/0.4832, allocations: 9.312 kB / 0.6683 GB, free: 9.301 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.4836, allocations: 226.9 kB / 0.6685 GB, free: 9.039 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.4839, allocations: 0.6976 MB / 0.6692 GB, free: 8.316 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.065e-06/0.4839, allocations: 7.844 kB / 0.6692 GB, free: 8.309 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.4839, allocations: 23.56 kB / 0.6692 GB, free: 8.285 MB / 490.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4839, allocations: 0 / 0.6692 GB, free: 8.285 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.4968, allocations: 2.847 MB / 0.672 GB, free: 5.602 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.497, allocations: 152.8 kB / 0.6721 GB, free: 5.379 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.383/1.88, allocations: 0 / 0.6721 GB, free: 5.379 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)