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.0009/0.0009, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001136/0.001136, allocations: 219 kB / 22.26 MB, free: 3.695 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.9471/0.9471, allocations: 230.6 MB / 256 MB, free: 9.789 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.8094/0.8094, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.0009355/0.0009355, allocations: 68.92 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.516/0.517, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001279/0.5183, allocations: 0.627 MB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.5195, allocations: 1.451 MB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.5195, allocations: 3.969 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.887e-05/0.5196, allocations: 4.594 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.739e-05/0.5196, allocations: 0.6094 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.5202, allocations: 190.2 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.5203, allocations: 45.92 kB / 0.8202 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.5203, allocations: 5.938 kB / 0.8202 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.759e-05/0.5203, allocations: 26.38 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.5204, allocations: 23.59 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.5204, allocations: 2.906 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.5207, allocations: 227.5 kB / 0.8204 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.5207, allocations: 15.78 kB / 0.8205 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.5208, allocations: 23.41 kB / 0.8205 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.521, allocations: 190.9 kB / 0.8207 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.521, allocations: 0 / 0.8207 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.521, allocations: 0 / 0.8207 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.521, allocations: 7.938 kB / 0.8207 GB, free: 15.59 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.0003528/0.5214, allocations: 367.1 kB / 0.821 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.5214, allocations: 13.81 kB / 0.821 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.596e-05/0.5215, allocations: 31.78 kB / 0.8211 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.5215, allocations: 8.578 kB / 0.8211 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.662e-05/0.5216, allocations: 118.7 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.5216, allocations: 3.656 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.5216, allocations: 2.75 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.5218, allocations: 102.8 kB / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.5218, allocations: 4 kB / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.5218, allocations: 0 / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.5218, allocations: 0 / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.843e-05/0.5218, allocations: 65.05 kB / 0.8214 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.522, allocations: 150.4 kB / 0.8215 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.28e-05/0.522, allocations: 75.45 kB / 0.8216 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.5221, allocations: 67.53 kB / 0.8216 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.5221, allocations: 0 / 0.8216 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.5221, allocations: 44.03 kB / 0.8217 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 5.51e-07/0.5221, allocations: 0 / 0.8217 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003149/0.5224, allocations: 253.7 kB / 0.8219 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.5225, allocations: 80.95 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.5226, allocations: 148.1 kB / 0.8221 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.5226, allocations: 26.98 kB / 0.8222 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.5226, allocations: 97.78 kB / 0.8223 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.5227, allocations: 5.969 kB / 0.8223 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.5227, allocations: 33.8 kB / 0.8223 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.5228, allocations: 319 kB / 0.8226 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.5229, allocations: 101.7 kB / 0.8227 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-05/0.523, allocations: 102 kB / 0.8228 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.5232, allocations: 276.5 kB / 0.8231 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5232, allocations: 3.938 kB / 0.8231 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002447/0.5234, allocations: 320.8 kB / 0.8234 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.5235, allocations: 73.45 kB / 0.8234 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5235, allocations: 4.062 kB / 0.8234 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5235, allocations: 0 / 0.8234 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.5235, allocations: 1.438 kB / 0.8234 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.5235, allocations: 0.9844 kB / 0.8234 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.245e-05/0.5236, allocations: 14.52 kB / 0.8235 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.5236, allocations: 3.125 kB / 0.8235 GB, free: 13.6 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 7.755e-05/0.5237, allocations: 152.6 kB / 0.8236 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.5237, allocations: 11.05 kB / 0.8236 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.056e-05/0.5237, allocations: 6.719 kB / 0.8236 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5237, allocations: 6.047 kB / 0.8236 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5237, allocations: 0 / 0.8236 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.5237, allocations: 3.938 kB / 0.8236 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.765e-05/0.5238, allocations: 144.6 kB / 0.8238 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5238, allocations: 8.828 kB / 0.8238 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.5238, allocations: 0 / 0.8238 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5238, allocations: 1.062 kB / 0.8238 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.5238, allocations: 2.125 kB / 0.8238 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5238, allocations: 0.8906 kB / 0.8238 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5238, allocations: 5.188 kB / 0.8238 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.524, allocations: 227.8 kB / 0.824 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.524, allocations: 14.42 kB / 0.824 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.524, allocations: 2.344 kB / 0.824 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/0.524, allocations: 5.391 kB / 0.824 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.5241, allocations: 10.84 kB / 0.824 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.5241, allocations: 2.438 kB / 0.824 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.5242, allocations: 110.1 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5242, allocations: 32 / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001992/0.5244, allocations: 69.94 kB / 0.8242 GB, free: 13.03 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.0007463/0.5251, allocations: 0.8101 MB / 0.825 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.5254, allocations: 327.1 kB / 0.8253 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5254, allocations: 0 / 0.8253 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/0.5255, allocations: 129.6 kB / 0.8254 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.5256, allocations: 4.812 kB / 0.8254 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.5273, allocations: 2.141 MB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.5274, allocations: 0.6905 MB / 0.8282 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.13e-06/0.5274, allocations: 0 / 0.8282 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.5275, allocations: 22.08 kB / 0.8282 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.5275, allocations: 0 / 0.8282 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.5443, allocations: 3.431 MB / 0.8316 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/7.216, allocations: 3 kB / 0.8316 GB, free: 9.535 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.121598192024976] Failed to read output from testmodel.py, exit status != 0: 7.294456522213295 7.306587107 6.782854215 Calling exit ...