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.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.0008224/0.0008224, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009422/0.0009422, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.915/0.915, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7928/0.7928, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009861/0.0009861, allocations: 66.95 kB / 0.7182 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5237/0.5247, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.0019/0.5266, allocations: 0.6247 MB / 0.8184 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.5282, allocations: 1.386 MB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.5283, allocations: 0 / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.917e-05/0.5284, allocations: 2.781 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.5284, allocations: 10.23 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009688/0.5294, allocations: 192.7 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.5296, allocations: 41.94 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.5296, allocations: 0.7031 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.5297, allocations: 17.61 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/0.5298, allocations: 31.59 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.5298, allocations: 2.812 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005349/0.5303, allocations: 208.2 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.5304, allocations: 17.89 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.5305, allocations: 21.84 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.5309, allocations: 193.6 kB / 0.8205 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5309, allocations: 0 / 0.8205 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5309, allocations: 0 / 0.8205 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.5309, allocations: 1.094 kB / 0.8205 GB, free: 15.46 MB / 0.6198 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.0005394/0.5315, allocations: 369.4 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.5315, allocations: 15.31 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.5315, allocations: 31.5 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.5316, allocations: 12.83 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.652e-05/0.5317, allocations: 115 kB / 0.821 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.5317, allocations: 4.375 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.5317, allocations: 3.281 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.5319, allocations: 125.9 kB / 0.8212 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5319, allocations: 3.938 kB / 0.8212 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.5319, allocations: 3.875 kB / 0.8212 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5319, allocations: 0 / 0.8212 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.74e-05/0.532, allocations: 90.23 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.5321, allocations: 141.3 kB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.5322, allocations: 106.7 kB / 0.8215 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.223e-05/0.5323, allocations: 98.31 kB / 0.8216 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.5323, allocations: 3.984 kB / 0.8216 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.5324, allocations: 40.48 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.5324, allocations: 0 / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003711/0.5327, allocations: 312.8 kB / 0.8219 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.5328, allocations: 80.75 kB / 0.822 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.5329, allocations: 148.1 kB / 0.8221 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.5329, allocations: 31.67 kB / 0.8222 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.5329, allocations: 96.78 kB / 0.8223 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.533, allocations: 7.703 kB / 0.8223 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.533, allocations: 32.84 kB / 0.8223 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.5331, allocations: 319.6 kB / 0.8226 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.5332, allocations: 169.3 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.5333, allocations: 164.7 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.5336, allocations: 285.7 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5336, allocations: 0.7031 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003178/0.5339, allocations: 398.5 kB / 0.8236 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.5339, allocations: 72.44 kB / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5339, allocations: 0 / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5339, allocations: 0 / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-06/0.5339, allocations: 2.141 kB / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.534, allocations: 4 kB / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.5341, allocations: 15.11 kB / 0.8237 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.5341, allocations: 7.094 kB / 0.8237 GB, free: 13.08 MB / 0.6198 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 8.284e-05/0.5342, allocations: 147.9 kB / 0.8238 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.5342, allocations: 13.3 kB / 0.8238 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.445e-05/0.5342, allocations: 10.61 kB / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.5342, allocations: 0.6562 kB / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5342, allocations: 0 / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5342, allocations: 3.938 kB / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.859e-05/0.5343, allocations: 144.7 kB / 0.824 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5343, allocations: 3.938 kB / 0.824 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-06/0.5343, allocations: 4.547 kB / 0.824 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.5343, allocations: 1.094 kB / 0.824 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.5343, allocations: 2.766 kB / 0.824 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5343, allocations: 0 / 0.824 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5343, allocations: 1.344 kB / 0.824 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.5346, allocations: 258 kB / 0.8242 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.5346, allocations: 11.14 kB / 0.8242 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.5346, allocations: 1.969 kB / 0.8242 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.675e-05/0.5347, allocations: 5.172 kB / 0.8243 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.5347, allocations: 19.78 kB / 0.8243 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.5347, allocations: 1.312 kB / 0.8243 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.709e-05/0.5348, allocations: 108.5 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5348, allocations: 0 / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002953/0.5351, allocations: 69.75 kB / 0.8244 GB, free: 12.48 MB / 0.6198 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.0006478/0.5357, allocations: 0.8356 MB / 0.8253 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004138/0.5362, allocations: 420.6 kB / 0.8257 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5362, allocations: 0 / 0.8257 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.5363, allocations: 159.4 kB / 0.8258 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.5364, allocations: 3.375 kB / 0.8258 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.5385, allocations: 2.444 MB / 0.8282 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.365e-05/0.5386, allocations: 74.61 kB / 0.8283 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.322e-06/0.5386, allocations: 1.406 kB / 0.8283 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.5386, allocations: 16.89 kB / 0.8283 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of SimCode: time 9.21e-07/0.5386, allocations: 1.5 kB / 0.8283 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.5593, allocations: 3.908 MB / 0.8321 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/7.31, allocations: 3.516 kB / 0.8321 GB, free: 8.695 MB / 0.6198 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 --stepSize=0.0004 --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.209933665115386] Failed to read output from testmodel.py, exit status != 0: 7.389455002266914 7.402487157 6.869501609 Calling exit ...