Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001287/0.001287, allocations: 71.75 kB / 19.02 MB, free: 1.23 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.002027/0.002027, allocations: 157.3 kB / 22.28 MB, free: 3.617 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 1.464/1.464, allocations: 177.2 MB / 202.7 MB, free: 4.785 MB / 186.7 MB " [Timeout remaining time 178] 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 1.228/1.228, allocations: 154.7 MB / 413.8 MB, free: 3.125 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.Examples.Interpolate,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Interpolate,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Interpolate",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.002819/0.002819, allocations: 65.92 kB / 0.6181 GB, free: 1.062 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2468, allocations: 102 MB / 0.7176 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Interpolate): time 0.003316/0.2501, allocations: 1.481 MB / 0.7191 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.2517, allocations: 0.7794 MB / 0.7199 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.2517, allocations: 0 / 0.7199 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.252, allocations: 135.7 kB / 0.72 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00068/0.2527, allocations: 179.6 kB / 0.7202 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.2529, allocations: 71.8 kB / 0.7202 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.253, allocations: 71.8 kB / 0.7203 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.2531, allocations: 4 kB / 0.7203 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.2532, allocations: 43.88 kB / 0.7203 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.2534, allocations: 95.81 kB / 0.7204 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2534, allocations: 0 / 0.7204 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.2539, allocations: 247.5 kB / 0.7207 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.254, allocations: 111.6 kB / 0.7208 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2541, allocations: 75.41 kB / 0.7208 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.2547, allocations: 346.6 kB / 0.7212 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2547, allocations: 4 kB / 0.7212 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.255e-06/0.2547, allocations: 0 / 0.7212 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.2547, allocations: 0 / 0.7212 GB, free: 7.555 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0009913/0.2557, allocations: 0.5546 MB / 0.7217 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.2558, allocations: 8.031 kB / 0.7217 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.2558, allocations: 38.73 kB / 0.7218 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.849e-05/0.2559, allocations: 32.7 kB / 0.7218 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.257, allocations: 0.8677 MB / 0.7226 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.257, allocations: 4.375 kB / 0.7226 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.257, allocations: 4.312 kB / 0.7227 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.2573, allocations: 89.78 kB / 0.7227 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2573, allocations: 0 / 0.7227 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2573, allocations: 3.984 kB / 0.7227 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2573, allocations: 0 / 0.7227 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.2575, allocations: 95.94 kB / 0.7228 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008585/0.2584, allocations: 0.5466 MB / 0.7234 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.2586, allocations: 106.5 kB / 0.7235 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.2587, allocations: 60.89 kB / 0.7235 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.2588, allocations: 15.98 kB / 0.7235 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.2588, allocations: 34.56 kB / 0.7236 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2588, allocations: 0 / 0.7236 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005138/0.2593, allocations: 217.4 kB / 0.7238 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.2594, allocations: 51.41 kB / 0.7238 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.2607, allocations: 1.216 MB / 0.725 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.2607, allocations: 25.7 kB / 0.725 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.2609, allocations: 180.1 kB / 0.7252 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.2609, allocations: 3.953 kB / 0.7252 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.261, allocations: 21.66 kB / 0.7252 GB, free: 3.215 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002303/0.2612, allocations: 350.7 kB / 0.7256 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.2613, allocations: 51.97 kB / 0.7256 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.2615, allocations: 47.97 kB / 0.7257 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.2617, allocations: 104.9 kB / 0.7258 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2617, allocations: 0 / 0.7258 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003548/0.2621, allocations: 165.4 kB / 0.7259 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.2621, allocations: 6.031 kB / 0.7259 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2621, allocations: 0 / 0.7259 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.2621, allocations: 0 / 0.7259 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2622, allocations: 15.92 kB / 0.7259 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2622, allocations: 7.969 kB / 0.726 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.2623, allocations: 11.98 kB / 0.726 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2623, allocations: 0 / 0.726 GB, free: 2.453 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0002029/0.2625, allocations: 165.7 kB / 0.7261 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.2626, allocations: 35.75 kB / 0.7262 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.263, allocations: 168.2 kB / 0.7263 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.263, allocations: 0 / 0.7263 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.263, allocations: 32 / 0.7263 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.263, allocations: 8 kB / 0.7263 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.2634, allocations: 260.6 kB / 0.7266 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2634, allocations: 0 / 0.7266 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.2635, allocations: 7.984 kB / 0.7266 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2635, allocations: 3.938 kB / 0.7266 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2635, allocations: 4 kB / 0.7266 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2635, allocations: 0 / 0.7266 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2635, allocations: 0 / 0.7266 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.2639, allocations: 271.2 kB / 0.7269 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.264, allocations: 51.73 kB / 0.7269 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.264, allocations: 4 kB / 0.7269 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2641, allocations: 7.984 kB / 0.7269 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.2642, allocations: 4 kB / 0.7269 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2642, allocations: 4 kB / 0.7269 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001003/0.2652, allocations: 0.9481 MB / 0.7278 GB, free: 472 kB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2652, allocations: 0 / 0.7278 GB, free: 472 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003998/0.2656, allocations: 75.88 kB / 0.7279 GB, free: 396 kB / 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: 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.0009226/0.2665, allocations: 0.8525 MB / 0.7288 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002926/0.2668, allocations: 107.9 kB / 0.7289 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2668, allocations: 0 / 0.7289 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.267, allocations: 51.97 kB / 0.7289 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.2675, allocations: 25.81 kB / 0.7289 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008256/0.2757, allocations: 6.768 MB / 0.7355 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.2759, allocations: 178.1 kB / 0.7357 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.827e-05/0.276, allocations: 38.92 kB / 0.7357 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.2761, allocations: 96.45 kB / 0.7358 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of SimCode: time 1.143e-06/0.2761, allocations: 0 / 0.7358 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0402/0.3163, allocations: 7.892 MB / 0.7435 GB, free: 428 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.76, allocations: 3.031 kB / 0.7435 GB, free: 428 kB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Interpolate.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Interpolate.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Interpolate.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.88268812300521] Failed to read output from testmodel.py, exit status != 0: 11.88029663899215 11.908025771 11.648133906 Calling exit ...