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.000779/0.000779, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007707/0.0007707, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9106/0.9106, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7065/0.7065, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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: Performance of FrontEnd - loaded program: time 5.04e-06/5.04e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.433e-05/3.937e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Interpolate): time 0.002207/0.002246, allocations: 1.476 MB / 0.6196 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.00346, allocations: 0.7673 MB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.003528, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.003794, allocations: 131.7 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007449/0.004539, allocations: 193.7 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.004665, allocations: 83.61 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.976e-05/0.004765, allocations: 63.88 kB / 0.6208 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.00485, allocations: 7.984 kB / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.404e-05/0.004904, allocations: 47.88 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.843e-05/0.005002, allocations: 87.83 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.005015, allocations: 4 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.005294, allocations: 239.6 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.005395, allocations: 115.7 kB / 0.6212 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.005436, allocations: 47.78 kB / 0.6213 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.005749, allocations: 374.9 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.005752, allocations: 0 / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.573e-06/0.005754, allocations: 0 / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.005758, allocations: 0 / 0.6216 GB, free: 10.05 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.0005653/0.006324, allocations: 0.5532 MB / 0.6222 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.006364, allocations: 12.03 kB / 0.6222 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.006391, allocations: 30.75 kB / 0.6222 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.006431, allocations: 32.75 kB / 0.6223 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.006976, allocations: 0.8825 MB / 0.6231 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.006988, allocations: 4.375 kB / 0.6231 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.006997, allocations: 384 / 0.6231 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.007122, allocations: 86.16 kB / 0.6232 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.007128, allocations: 192 / 0.6232 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.007136, allocations: 4.125 kB / 0.6232 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.00714, allocations: 0 / 0.6232 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.007254, allocations: 107.9 kB / 0.6233 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.007743, allocations: 0.535 MB / 0.6238 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.007857, allocations: 102.5 kB / 0.6239 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.00792, allocations: 60.83 kB / 0.624 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.007956, allocations: 19.92 kB / 0.624 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.007976, allocations: 38.56 kB / 0.624 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.007977, allocations: 4 kB / 0.624 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002705/0.008247, allocations: 209.4 kB / 0.6242 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.008273, allocations: 55.41 kB / 0.6243 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007821/0.009055, allocations: 1.209 MB / 0.6255 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.009066, allocations: 29.7 kB / 0.6255 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.009146, allocations: 172.1 kB / 0.6257 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.00916, allocations: 3.953 kB / 0.6257 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.009187, allocations: 21.7 kB / 0.6257 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.009266, allocations: 346.9 kB / 0.626 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.733e-05/0.009323, allocations: 51.95 kB / 0.6261 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.066e-05/0.009374, allocations: 55.91 kB / 0.6261 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.009479, allocations: 100.8 kB / 0.6262 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.009481, allocations: 3.938 kB / 0.6262 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001512/0.009632, allocations: 177.4 kB / 0.6264 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.009643, allocations: 4 kB / 0.6264 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.009647, allocations: 0 / 0.6264 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.009659, allocations: 0 / 0.6264 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.009717, allocations: 11.98 kB / 0.6264 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.009721, allocations: 0 / 0.6264 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.009759, allocations: 4 kB / 0.6264 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.009764, allocations: 4 kB / 0.6264 GB, free: 4.973 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 (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 9.842e-05/0.009862, allocations: 174.7 kB / 0.6266 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.009891, allocations: 35.7 kB / 0.6266 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.01007, allocations: 184 kB / 0.6268 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.01007, allocations: 0 / 0.6268 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01007, allocations: 4 kB / 0.6268 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.01007, allocations: 0 / 0.6268 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.01024, allocations: 252.7 kB / 0.627 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01025, allocations: 3.938 kB / 0.627 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.01027, allocations: 4 kB / 0.627 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01027, allocations: 4.031 kB / 0.6271 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.01028, allocations: 3.984 kB / 0.6271 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01028, allocations: 4 kB / 0.6271 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01028, allocations: 0 / 0.6271 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.01045, allocations: 259.2 kB / 0.6273 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.0105, allocations: 55.67 kB / 0.6274 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.01052, allocations: 0 / 0.6274 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.01057, allocations: 8 kB / 0.6274 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.0106, allocations: 8.016 kB / 0.6274 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.0106, allocations: 0 / 0.6274 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005398/0.01114, allocations: 0.9559 MB / 0.6283 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01114, allocations: 0 / 0.6283 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002285/0.01137, allocations: 71.88 kB / 0.6284 GB, free: 2.891 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.0006053/0.01197, allocations: 0.8643 MB / 0.6292 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.01212, allocations: 99.97 kB / 0.6293 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01212, allocations: 4 kB / 0.6293 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.589e-05/0.01218, allocations: 55.95 kB / 0.6294 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01243, allocations: 21.66 kB / 0.6294 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.01688, allocations: 6.808 MB / 0.636 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.01698, allocations: 186 kB / 0.6362 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.681e-05/0.01703, allocations: 42.92 kB / 0.6363 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.01711, allocations: 96.41 kB / 0.6364 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.01711, allocations: 0 / 0.6364 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.03626, allocations: 7.903 MB / 0.6441 GB, free: 2.887 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.005, allocations: 7.016 kB / 0.6441 GB, free: 2.883 MB / 0.6042 GB " [Timeout remaining time 653] (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: 9.673401172272861] Failed to read output from testmodel.py, exit status != 0: 7.087112233042717 7.094419278 7.087019837 Calling exit ...