Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9919/0.9919, allocations: 175.7 MB / 480.1 MB, free: 2.809 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 65.78 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1554, allocations: 94.53 MB / 0.7601 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001625/0.157, allocations: 0.6262 MB / 0.7607 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1587, allocations: 1.395 MB / 0.7621 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.1588, allocations: 4 kB / 0.7621 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.956e-05/0.1588, allocations: 7.922 kB / 0.7621 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.102e-05/0.1588, allocations: 0 / 0.7621 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.1594, allocations: 183.5 kB / 0.7623 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.853e-05/0.1595, allocations: 39.95 kB / 0.7623 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.302e-05/0.1596, allocations: 12 kB / 0.7623 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.1596, allocations: 15.92 kB / 0.7623 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.1596, allocations: 23.97 kB / 0.7624 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1597, allocations: 4 kB / 0.7624 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.16, allocations: 215.6 kB / 0.7626 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.16, allocations: 8 kB / 0.7626 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.1601, allocations: 27.8 kB / 0.7626 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.1603, allocations: 187.5 kB / 0.7628 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1604, allocations: 3.938 kB / 0.7628 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1604, allocations: 0 / 0.7628 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.1604, allocations: 4 kB / 0.7628 GB, free: 13.97 MB / 0.5762 GB 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.0004455/0.1608, allocations: 447.9 kB / 0.7632 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.1608, allocations: 8.031 kB / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.1609, allocations: 34.75 kB / 0.7633 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.1609, allocations: 8.891 kB / 0.7633 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1611, allocations: 176.3 kB / 0.7634 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1611, allocations: 4.375 kB / 0.7634 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1611, allocations: 4.375 kB / 0.7634 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.1612, allocations: 97.77 kB / 0.7635 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.1612, allocations: 7.938 kB / 0.7635 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1613, allocations: 7.984 kB / 0.7636 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1613, allocations: 0 / 0.7636 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.679e-05/0.1613, allocations: 63.89 kB / 0.7636 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.1615, allocations: 173.7 kB / 0.7638 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1616, allocations: 78.52 kB / 0.7639 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.1617, allocations: 64.89 kB / 0.7639 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-06/0.1617, allocations: 0 / 0.7639 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1617, allocations: 38.5 kB / 0.764 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1617, allocations: 0 / 0.764 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003799/0.1621, allocations: 255.2 kB / 0.7642 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.1622, allocations: 85.11 kB / 0.7643 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1623, allocations: 143.3 kB / 0.7644 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1623, allocations: 29.7 kB / 0.7644 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.1624, allocations: 92.12 kB / 0.7645 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.1624, allocations: 11.88 kB / 0.7645 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.1624, allocations: 33.7 kB / 0.7646 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1626, allocations: 318.8 kB / 0.7649 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1627, allocations: 103.9 kB / 0.765 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1628, allocations: 103.9 kB / 0.7651 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.1631, allocations: 281.8 kB / 0.7653 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1631, allocations: 0 / 0.7653 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003532/0.1635, allocations: 332.7 kB / 0.7657 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.1635, allocations: 67.39 kB / 0.7657 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1635, allocations: 4.062 kB / 0.7657 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1635, allocations: 0 / 0.7657 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1635, allocations: 0 / 0.7657 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1635, allocations: 0 / 0.7657 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.1637, allocations: 11.94 kB / 0.7657 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1637, allocations: 4 kB / 0.7657 GB, free: 10.64 MB / 0.5762 GB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.1638, allocations: 151.5 kB / 0.7659 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.1638, allocations: 11.89 kB / 0.7659 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.1638, allocations: 8.25 kB / 0.7659 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1638, allocations: 4 kB / 0.7659 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1638, allocations: 0 / 0.7659 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1638, allocations: 0 / 0.7659 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.164, allocations: 177.6 kB / 0.7661 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.164, allocations: 3.938 kB / 0.7661 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.164, allocations: 0 / 0.7661 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.164, allocations: 0 / 0.7661 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.164, allocations: 7.984 kB / 0.7661 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.164, allocations: 4 kB / 0.7661 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.164, allocations: 3.938 kB / 0.7661 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.1643, allocations: 226.6 kB / 0.7663 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.1643, allocations: 92.98 kB / 0.7664 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1643, allocations: 0 / 0.7664 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.1644, allocations: 12 kB / 0.7664 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.1644, allocations: 7.984 kB / 0.7664 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1644, allocations: 4 kB / 0.7664 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.266e-05/0.1645, allocations: 109.3 kB / 0.7665 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1645, allocations: 0 / 0.7665 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002635/0.1648, allocations: 63.97 kB / 0.7666 GB, free: 9.66 MB / 0.5762 GB 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) * Number of clocked states: 0 () * 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 (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.0007136/0.1655, allocations: 0.8193 MB / 0.7674 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003698/0.1658, allocations: 330.7 kB / 0.7677 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1658, allocations: 0 / 0.7677 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.166, allocations: 131.4 kB / 0.7678 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1661, allocations: 4 kB / 0.7678 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.1682, allocations: 2.129 MB / 0.7699 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1685, allocations: 0.6924 MB / 0.7706 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.669e-06/0.1685, allocations: 3.938 kB / 0.7706 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.1685, allocations: 15.44 kB / 0.7706 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.1685, allocations: 0 / 0.7706 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.1931, allocations: 3.299 MB / 0.7738 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.188/7.381, allocations: 5.875 kB / 0.7738 GB, free: 2.141 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.810006024010363]