Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.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.0008069/0.0008069, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008832/0.0008832, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8959/0.8959, allocations: 177.1 MB / 202.8 MB, free: 5.543 MB / 186.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.7081/0.7081, allocations: 154.6 MB / 413.8 MB, free: 0.7656 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.63e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Interpolate): time 0.001922/0.001939, allocations: 1.515 MB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.002821, allocations: 0.7127 MB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.002858, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.003053, allocations: 135.7 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.35e-05/0.003126, allocations: 67.83 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.003646, allocations: 198.7 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.003869, allocations: 59.81 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.003913, allocations: 11.92 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.619e-05/0.003969, allocations: 47.88 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.066e-05/0.004059, allocations: 79.89 kB / 0.6209 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.004072, allocations: 4 kB / 0.6209 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.004347, allocations: 243.6 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.932e-05/0.004427, allocations: 59.84 kB / 0.6212 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.004458, allocations: 27.86 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.004736, allocations: 307.1 kB / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004738, allocations: 4 kB / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004738, allocations: 0 / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.004742, allocations: 0 / 0.6215 GB, free: 10.2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004692/0.005211, allocations: 448.8 kB / 0.6219 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.005249, allocations: 9.469 kB / 0.6219 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.77e-05/0.005277, allocations: 30.75 kB / 0.6219 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.00531, allocations: 28.73 kB / 0.622 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.005476, allocations: 205.9 kB / 0.6222 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.005487, allocations: 4.375 kB / 0.6222 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.005496, allocations: 384 / 0.6222 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.005622, allocations: 78.22 kB / 0.6222 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.005629, allocations: 8.125 kB / 0.6223 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.005638, allocations: 4.125 kB / 0.6223 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.005643, allocations: 0 / 0.6223 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.005758, allocations: 83.94 kB / 0.6223 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.006138, allocations: 359.9 kB / 0.6227 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.006247, allocations: 98.52 kB / 0.6228 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.006307, allocations: 52.83 kB / 0.6228 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.00634, allocations: 19.92 kB / 0.6228 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.006357, allocations: 30.56 kB / 0.6229 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.006358, allocations: 0 / 0.6229 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002518/0.00661, allocations: 181.4 kB / 0.623 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.006637, allocations: 59.53 kB / 0.6231 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.006871, allocations: 356.4 kB / 0.6234 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.006881, allocations: 25.7 kB / 0.6235 GB, free: 8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.006948, allocations: 136.1 kB / 0.6236 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.00696, allocations: 11.95 kB / 0.6236 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.006991, allocations: 25.7 kB / 0.6236 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.007076, allocations: 330.8 kB / 0.6239 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-05/0.007165, allocations: 95.94 kB / 0.624 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.007498, allocations: 95.94 kB / 0.6241 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.007663, allocations: 211.3 kB / 0.6243 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.007665, allocations: 0 / 0.6243 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002129/0.007877, allocations: 265.2 kB / 0.6246 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.007889, allocations: 5.875 kB / 0.6246 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.007895, allocations: 0 / 0.6246 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.007906, allocations: 0 / 0.6246 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.007962, allocations: 8 kB / 0.6246 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.007967, allocations: 7.984 kB / 0.6246 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.007998, allocations: 11.89 kB / 0.6246 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.008003, allocations: 4 kB / 0.6246 GB, free: 6.793 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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.477e-05/0.008077, allocations: 142.8 kB / 0.6248 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.008098, allocations: 23.8 kB / 0.6248 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.00826, allocations: 142.7 kB / 0.6249 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008261, allocations: 0 / 0.6249 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.008266, allocations: 7.938 kB / 0.6249 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.008268, allocations: 4.031 kB / 0.6249 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.008408, allocations: 204.6 kB / 0.6251 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.00841, allocations: 3.938 kB / 0.6251 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.008433, allocations: 11.98 kB / 0.6251 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.008434, allocations: 0 / 0.6251 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.00844, allocations: 4 kB / 0.6251 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.008441, allocations: 0 / 0.6251 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.008442, allocations: 0 / 0.6251 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.008592, allocations: 231.3 kB / 0.6254 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.008619, allocations: 31.78 kB / 0.6254 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.008632, allocations: 4.094 kB / 0.6254 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.008673, allocations: 8 kB / 0.6254 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.00871, allocations: 7.969 kB / 0.6254 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.008712, allocations: 0 / 0.6254 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001514/0.008864, allocations: 259 kB / 0.6257 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.008864, allocations: 0 / 0.6257 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002112/0.009075, allocations: 71.8 kB / 0.6257 GB, free: 5.582 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0004492/0.009524, allocations: 0.8332 MB / 0.6265 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.009709, allocations: 135.9 kB / 0.6267 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.00971, allocations: 0 / 0.6267 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.009765, allocations: 51.89 kB / 0.6267 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.009966, allocations: 12.66 kB / 0.6267 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.01178, allocations: 2.714 MB / 0.6294 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.267e-05/0.01187, allocations: 131.2 kB / 0.6295 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.0119, allocations: 16.48 kB / 0.6295 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.01195, allocations: 52.48 kB / 0.6296 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of SimCode: time 3.1e-07/0.01195, allocations: 3.938 kB / 0.6296 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.0297, allocations: 4.986 MB / 0.6344 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.189, allocations: 13.09 kB / 0.6345 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.853547498583794] Failed to read output from testmodel.py, exit status != 0: 7.267619085498154 7.277297624 7.270858178 Calling exit ...