Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009031/0.0009031, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8945/0.8945, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7134/0.7134, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.274e-05, allocations: 6 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.002056/0.002088, allocations: 0.6204 MB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002228/0.004317, allocations: 1.389 MB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.004358, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.556e-05/0.004434, allocations: 7.922 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.333e-05/0.004487, allocations: 3.938 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.00516, allocations: 183.5 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.005275, allocations: 51.94 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.005312, allocations: 0 / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.262e-05/0.005365, allocations: 27.91 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.005413, allocations: 19.97 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.005427, allocations: 4 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002759/0.005703, allocations: 207.7 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.005748, allocations: 19.94 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.005781, allocations: 15.92 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.006013, allocations: 227.5 kB / 0.6209 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006016, allocations: 4 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.483e-06/0.006018, allocations: 0 / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.006022, allocations: 3.938 kB / 0.6209 GB, free: 10.82 MB / 0.5886 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.0003398/0.006362, allocations: 371.5 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.006399, allocations: 12.03 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.536e-05/0.006424, allocations: 30.75 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.006455, allocations: 8.891 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.931e-05/0.006534, allocations: 109.8 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.006546, allocations: 8.375 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.006555, allocations: 384 / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.006712, allocations: 135.8 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.006719, allocations: 192 / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.006728, allocations: 4.125 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.006732, allocations: 0 / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/0.006804, allocations: 89.66 kB / 0.6216 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.006929, allocations: 144.7 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.007022, allocations: 104.2 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.794e-05/0.00709, allocations: 94.59 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.007097, allocations: 4 kB / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.007119, allocations: 38.48 kB / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.00712, allocations: 0 / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0003172/0.007438, allocations: 314.6 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.007476, allocations: 85.09 kB / 0.6224 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/0.007567, allocations: 143.8 kB / 0.6225 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.007579, allocations: 25.7 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.007617, allocations: 92.12 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.007638, allocations: 15.89 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.007675, allocations: 29.7 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.007747, allocations: 314.8 kB / 0.6229 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.007855, allocations: 175.3 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.007957, allocations: 179.2 kB / 0.6233 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.008146, allocations: 285.8 kB / 0.6236 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.008149, allocations: 0 / 0.6236 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002572/0.008406, allocations: 384.3 kB / 0.6239 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.008454, allocations: 75.33 kB / 0.624 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.008461, allocations: 3.938 kB / 0.624 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.008476, allocations: 3.984 kB / 0.624 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.051e-06/0.008477, allocations: 0 / 0.624 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.008482, allocations: 0 / 0.624 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.00864, allocations: 16 kB / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.008651, allocations: 4 kB / 0.624 GB, free: 7.258 MB / 0.5886 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 7.793e-05/0.008729, allocations: 148.5 kB / 0.6242 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.008741, allocations: 7.953 kB / 0.6242 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.513e-05/0.008756, allocations: 16.27 kB / 0.6242 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.008758, allocations: 3.938 kB / 0.6242 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.008763, allocations: 0 / 0.6242 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.008765, allocations: 0 / 0.6242 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.013e-05/0.008845, allocations: 140.7 kB / 0.6243 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.008846, allocations: 0 / 0.6243 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-06/0.008848, allocations: 8 kB / 0.6243 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.00885, allocations: 0 / 0.6243 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.008859, allocations: 7.938 kB / 0.6243 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.00886, allocations: 0 / 0.6243 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008861, allocations: 144 / 0.6243 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.009063, allocations: 260.4 kB / 0.6246 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.009071, allocations: 3.953 kB / 0.6246 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.009085, allocations: 7.938 kB / 0.6246 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.009122, allocations: 7.984 kB / 0.6246 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.009176, allocations: 8 kB / 0.6246 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.009181, allocations: 0 / 0.6246 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.00923, allocations: 117.7 kB / 0.6247 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.009231, allocations: 4 kB / 0.6247 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002273/0.009458, allocations: 67.86 kB / 0.6248 GB, free: 6.375 MB / 0.5886 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.0005373/0.009995, allocations: 0.8421 MB / 0.6256 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.01033, allocations: 423.7 kB / 0.626 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01033, allocations: 3.938 kB / 0.626 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.145e-05/0.01042, allocations: 157 kB / 0.6262 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.01054, allocations: 4 kB / 0.6262 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.01215, allocations: 2.463 MB / 0.6286 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.225e-05/0.0122, allocations: 75.52 kB / 0.6287 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.692e-06/0.0122, allocations: 0 / 0.6287 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.01224, allocations: 20.44 kB / 0.6287 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of SimCode: time 1.393e-06/0.01224, allocations: 0 / 0.6287 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.03094, allocations: 4.029 MB / 0.6326 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/6.826, allocations: 14.5 kB / 0.6326 GB, free: 14.23 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.473525162786245] Failed to read output from testmodel.py, exit status != 0: 6.905425664037466 6.915755635 6.907617185 Calling exit ...