Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001807/0.001807, allocations: 115.5 kB / 17.16 MB, free: 5.98 MB / 14.72 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.002336/0.002336, allocations: 209.5 kB / 20.13 MB, free: 3.031 MB / 14.72 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.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002479/0.002479, allocations: 283.5 kB / 309.8 MB, free: 3.512 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.069/1.069, allocations: 180.6 MB / 0.5338 GB, free: 12.3 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002891/0.002891, allocations: 99.84 kB / 0.7347 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5503, allocations: 95.34 MB / 0.8278 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001973/0.5522, allocations: 0.6279 MB / 0.8284 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.554, allocations: 1.506 MB / 0.8299 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.5541, allocations: 0 / 0.8299 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.398e-05/0.5541, allocations: 3.938 kB / 0.8299 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.29e-05/0.5542, allocations: 1.453 kB / 0.8299 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.5551, allocations: 215.6 kB / 0.8301 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.5552, allocations: 28.75 kB / 0.8301 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.5552, allocations: 3.797 kB / 0.8301 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.5552, allocations: 22.62 kB / 0.8302 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.5553, allocations: 18.05 kB / 0.8302 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.5553, allocations: 3 kB / 0.8302 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.5558, allocations: 255.9 kB / 0.8304 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.5558, allocations: 13.41 kB / 0.8304 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.5559, allocations: 18.25 kB / 0.8305 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.5562, allocations: 214.7 kB / 0.8307 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5562, allocations: 3.5 kB / 0.8307 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5562, allocations: 0 / 0.8307 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.5563, allocations: 0 / 0.8307 GB, free: 1.312 MB / 0.5762 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.0003835/0.5566, allocations: 408.1 kB / 0.8311 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5567, allocations: 9.609 kB / 0.8311 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.672e-05/0.5567, allocations: 4.125 kB / 0.8311 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.02e-05/0.5567, allocations: 34.11 kB / 0.8311 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.5567, allocations: 11.67 kB / 0.8311 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.851e-05/0.5568, allocations: 173.3 kB / 0.8313 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.5568, allocations: 3.281 kB / 0.8313 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.5569, allocations: 384 / 0.8313 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.557, allocations: 75.25 kB / 0.8314 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.557, allocations: 0 / 0.8314 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.557, allocations: 3.031 kB / 0.8314 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.557, allocations: 4.688 kB / 0.8314 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.534e-05/0.5571, allocations: 39.98 kB / 0.8314 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.5572, allocations: 164.4 kB / 0.8316 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.854e-05/0.5573, allocations: 53.77 kB / 0.8316 GB, free: 368 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.5573, allocations: 40.78 kB / 0.8317 GB, free: 356 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-06/0.5574, allocations: 3.938 kB / 0.8317 GB, free: 352 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.5574, allocations: 32.52 kB / 0.8317 GB, free: 312 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.5574, allocations: 3.984 kB / 0.8317 GB, free: 308 kB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003058/0.5577, allocations: 190.6 kB / 0.8319 GB, free: 224 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.5577, allocations: 84.95 kB / 0.832 GB, free: 124 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.5578, allocations: 110.5 kB / 0.8321 GB, free: 20 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.5578, allocations: 28.02 kB / 0.8321 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.5579, allocations: 86.75 kB / 0.8322 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.5579, allocations: 24.12 kB / 0.8322 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.558, allocations: 24.06 kB / 0.8322 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5581, allocations: 318.4 kB / 0.8325 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.5582, allocations: 36.08 kB / 0.8326 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/0.5582, allocations: 41.31 kB / 0.8326 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.5584, allocations: 140 kB / 0.8327 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.5584, allocations: 4 kB / 0.8327 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000203/0.5586, allocations: 160.4 kB / 0.8329 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.5586, allocations: 36.52 kB / 0.8329 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5586, allocations: 0 / 0.8329 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.5587, allocations: 1.438 kB / 0.8329 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.5587, allocations: 0 / 0.8329 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5587, allocations: 0.6094 kB / 0.8329 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.5588, allocations: 11.61 kB / 0.8329 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.5588, allocations: 12.28 kB / 0.8329 GB, free: 15.32 MB / 0.5919 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 0.0001226/0.559, allocations: 150.4 kB / 0.8331 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.559, allocations: 9.688 kB / 0.8331 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.361e-05/0.559, allocations: 5.266 kB / 0.8331 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.559, allocations: 2.406 kB / 0.8331 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.559, allocations: 0 / 0.8331 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.559, allocations: 0 / 0.8331 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.5591, allocations: 170.2 kB / 0.8333 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5592, allocations: 3.938 kB / 0.8333 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.5592, allocations: 7.938 kB / 0.8333 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5592, allocations: 0.5625 kB / 0.8333 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.5592, allocations: 7.781 kB / 0.8333 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5592, allocations: 0 / 0.8333 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5592, allocations: 0 / 0.8333 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.5594, allocations: 196.7 kB / 0.8335 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.5595, allocations: 92.09 kB / 0.8336 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.5595, allocations: 2.922 kB / 0.8336 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.562e-05/0.5595, allocations: 10.06 kB / 0.8336 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.5596, allocations: 7.422 kB / 0.8336 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.5596, allocations: 4.422 kB / 0.8336 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.5596, allocations: 94.25 kB / 0.8337 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5596, allocations: 0 / 0.8337 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003431/0.56, allocations: 70.34 kB / 0.8337 GB, free: 14.64 MB / 0.5919 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.0008056/0.5608, allocations: 0.8005 MB / 0.8345 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.561, allocations: 157.2 kB / 0.8347 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.561, allocations: 4 kB / 0.8347 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.5612, allocations: 112.4 kB / 0.8348 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.5614, allocations: 14.53 kB / 0.8348 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.562, allocations: 220.2 kB / 0.835 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.5623, allocations: 0.689 MB / 0.8357 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.214e-06/0.5623, allocations: 0 / 0.8357 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.5624, allocations: 13.5 kB / 0.8357 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.5624, allocations: 0 / 0.8357 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.5831, allocations: 3.166 MB / 0.8388 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.856, allocations: 22.58 kB / 0.8388 GB, free: 12.46 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.980505220009945] Failed to read output from testmodel.py, exit status != 0: 8.979610224952921 9.0013257 8.441039984 Calling exit ...