Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.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.0008909/0.0008909, 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.001051/0.001051, 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.8984/0.8984, 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.7379/0.7379, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.Functions.Examples.SmoothInterpolation,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 3.938 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.746e-05, allocations: 2.812 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001398/0.001425, allocations: 0.6085 MB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.003073, allocations: 1.443 MB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.0031, allocations: 0 / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.552e-05/0.003166, allocations: 0 / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.003206, allocations: 4 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.004362, allocations: 226.4 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.736e-05/0.004449, allocations: 35.91 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.004492, allocations: 0 / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.004542, allocations: 15.98 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.00459, allocations: 23.97 kB / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.004603, allocations: 0 / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003765/0.004979, allocations: 271.5 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.005029, allocations: 11.98 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.005064, allocations: 7.938 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.005372, allocations: 263.4 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005374, allocations: 0 / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.044e-06/0.005376, allocations: 4 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.005382, allocations: 0 / 0.621 GB, free: 10.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003979/0.00578, allocations: 327.6 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.005836, allocations: 8.031 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.005871, allocations: 38.73 kB / 0.6214 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.005902, allocations: 8.891 kB / 0.6214 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.568e-05/0.005998, allocations: 117.7 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.00601, allocations: 8.375 kB / 0.6215 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.00602, allocations: 384 / 0.6215 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.00617, allocations: 99.92 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.006178, allocations: 192 / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.006188, allocations: 8.125 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.006193, allocations: 3.938 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.827e-05/0.006252, allocations: 69.66 kB / 0.6217 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.006373, allocations: 132.7 kB / 0.6218 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.864e-05/0.006451, allocations: 84.25 kB / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/0.006502, allocations: 70.56 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.006509, allocations: 4 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.00653, allocations: 30.56 kB / 0.622 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 6.41e-07/0.006531, allocations: 0 / 0.622 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.000273/0.006804, allocations: 258.5 kB / 0.6222 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.006843, allocations: 85.11 kB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.261e-05/0.006906, allocations: 109.8 kB / 0.6224 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.006919, allocations: 29.7 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.00695, allocations: 84.14 kB / 0.6225 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.006982, allocations: 27.92 kB / 0.6225 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.007013, allocations: 21.72 kB / 0.6226 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.007093, allocations: 318.9 kB / 0.6229 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.007143, allocations: 65.67 kB / 0.6229 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.524e-05/0.007189, allocations: 69.67 kB / 0.623 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.007293, allocations: 148.8 kB / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007295, allocations: 0 / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001313/0.007426, allocations: 181 kB / 0.6233 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.007458, allocations: 41.69 kB / 0.6233 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.007463, allocations: 3.984 kB / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.007476, allocations: 3.938 kB / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.007477, allocations: 0 / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.007482, allocations: 0 / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.161e-05/0.007574, allocations: 15.98 kB / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.007592, allocations: 8 kB / 0.6234 GB, free: 7.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 (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 prepare postOptimizeDAE: time 7.226e-05/0.007665, allocations: 144.5 kB / 0.6235 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.007675, allocations: 7.953 kB / 0.6235 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.524e-05/0.00769, allocations: 16.42 kB / 0.6235 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.007693, allocations: 3.938 kB / 0.6235 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.007698, allocations: 0 / 0.6235 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.007701, allocations: 0 / 0.6235 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.543e-05/0.007776, allocations: 128.8 kB / 0.6237 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.007776, allocations: 0 / 0.6237 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.007777, allocations: 4 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007779, allocations: 4 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.007787, allocations: 0 / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.007788, allocations: 7.875 kB / 0.6237 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.007791, allocations: 8 kB / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.007971, allocations: 228.4 kB / 0.6239 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.00798, allocations: 7.938 kB / 0.6239 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.007994, allocations: 4 kB / 0.6239 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.071e-05/0.008024, allocations: 15.86 kB / 0.6239 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.008044, allocations: 4 kB / 0.6239 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.008053, allocations: 8 kB / 0.6239 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.821e-05/0.008091, allocations: 91.3 kB / 0.624 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008091, allocations: 0 / 0.624 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002546/0.008346, allocations: 79.86 kB / 0.6241 GB, free: 7.133 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 (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.0005617/0.008907, allocations: 0.8265 MB / 0.6249 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.00913, allocations: 222.7 kB / 0.6251 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.009132, allocations: 0 / 0.6251 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.009221, allocations: 149 kB / 0.6253 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.009345, allocations: 9.812 kB / 0.6253 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004184/0.009764, allocations: 264.2 kB / 0.6255 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.561e-05/0.00982, allocations: 75.27 kB / 0.6256 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.202e-06/0.009826, allocations: 0 / 0.6256 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.009857, allocations: 16.48 kB / 0.6256 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.009857, allocations: 4 kB / 0.6256 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.02545, allocations: 3.779 MB / 0.6293 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.812/6.838, allocations: 1.719 kB / 0.6293 GB, free: 1.809 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.539322069846094] Failed to read output from testmodel.py, exit status != 0: 6.922547178342938 6.933999363 6.925813504 Calling exit ...