Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.001759/0.001759, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002073/0.002073, allocations: 215.6 kB / 23.03 MB, free: 4.922 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.00245/0.00245, allocations: 302 kB / 313.5 MB, free: 2.691 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.285/1.285, allocations: 180.6 MB / 0.5377 GB, free: 14.65 MB / 382.1 MB " [Timeout remaining time 178] 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.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",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.003288/0.003288, allocations: 93.23 kB / 0.7403 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2041, allocations: 95.38 MB / 0.8334 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003475/0.2076, allocations: 1.767 MB / 0.8351 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.2089, allocations: 0.6865 MB / 0.8358 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/0.209, allocations: 8 kB / 0.8358 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.746e-05/0.2091, allocations: 11.86 kB / 0.8358 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.2091, allocations: 15.8 kB / 0.8358 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.2098, allocations: 187.1 kB / 0.836 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.21, allocations: 127.7 kB / 0.8361 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2101, allocations: 37.89 kB / 0.8362 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.2103, allocations: 71.7 kB / 0.8362 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.296e-05/0.2104, allocations: 51.75 kB / 0.8363 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.2104, allocations: 15.94 kB / 0.8363 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.2105, allocations: 51.97 kB / 0.8364 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.2106, allocations: 35.89 kB / 0.8364 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.2107, allocations: 43.73 kB / 0.8364 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.2109, allocations: 163.3 kB / 0.8366 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2109, allocations: 4 kB / 0.8366 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.031e-06/0.2109, allocations: 0 / 0.8366 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2109, allocations: 0 / 0.8366 GB, free: 5.012 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006578/0.2116, allocations: 365.7 kB / 0.8369 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.2116, allocations: 13.94 kB / 0.837 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.715e-05/0.2116, allocations: 192 / 0.837 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.2117, allocations: 38.75 kB / 0.837 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.2127, allocations: 140.6 kB / 0.8371 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.2131, allocations: 157.5 kB / 0.8373 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.2132, allocations: 122.9 kB / 0.8374 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.2132, allocations: 8 kB / 0.8374 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.2138, allocations: 219.3 kB / 0.8376 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2138, allocations: 0 / 0.8376 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.2138, allocations: 4 kB / 0.8376 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2138, allocations: 7.984 kB / 0.8376 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/0.2144, allocations: 155.8 kB / 0.8378 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.2156, allocations: 428.9 kB / 0.8382 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000985/0.2166, allocations: 214.3 kB / 0.8384 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.2168, allocations: 72.91 kB / 0.8385 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.2169, allocations: 11.94 kB / 0.8385 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.2169, allocations: 34.56 kB / 0.8385 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2169, allocations: 0 / 0.8385 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.001012/0.2179, allocations: 265.3 kB / 0.8388 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.2179, allocations: 55.34 kB / 0.8388 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2181, allocations: 142.4 kB / 0.8389 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.2181, allocations: 29.7 kB / 0.839 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.2182, allocations: 108.3 kB / 0.8391 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.2182, allocations: 15.84 kB / 0.8391 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.2183, allocations: 25.7 kB / 0.8391 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2184, allocations: 318.8 kB / 0.8394 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.2187, allocations: 79.92 kB / 0.8395 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.2191, allocations: 94.48 kB / 0.8396 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/0.2196, allocations: 162.4 kB / 0.8397 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.2196, allocations: 8.188 kB / 0.8397 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006658/0.2203, allocations: 205.4 kB / 0.8399 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2203, allocations: 8.062 kB / 0.8399 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2203, allocations: 0 / 0.8399 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2203, allocations: 7.938 kB / 0.84 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.2206, allocations: 31.95 kB / 0.84 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2206, allocations: 4 kB / 0.84 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.2208, allocations: 27.95 kB / 0.84 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.2208, allocations: 3.938 kB / 0.84 GB, free: 1.254 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001184/0.2209, allocations: 126.4 kB / 0.8401 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.221, allocations: 11.95 kB / 0.8402 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/0.2217, allocations: 198.2 kB / 0.8403 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2217, allocations: 0 / 0.8403 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2217, allocations: 8 kB / 0.8403 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2217, allocations: 0 / 0.8403 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.222, allocations: 193.5 kB / 0.8405 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.222, allocations: 0 / 0.8405 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.2222, allocations: 35.89 kB / 0.8406 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2222, allocations: 0 / 0.8406 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.2222, allocations: 0 / 0.8406 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.2222, allocations: 7.984 kB / 0.8406 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2222, allocations: 0 / 0.8406 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006935/0.2229, allocations: 283.3 kB / 0.8408 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.2229, allocations: 11.94 kB / 0.8409 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.2229, allocations: 7.938 kB / 0.8409 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.2232, allocations: 27.95 kB / 0.8409 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.2233, allocations: 16.16 kB / 0.8409 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.2233, allocations: 4 kB / 0.8409 GB, free: 276 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.814e-05/0.2234, allocations: 118.1 kB / 0.841 GB, free: 160 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2234, allocations: 0 / 0.841 GB, free: 160 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002713/0.2237, allocations: 27.89 kB / 0.841 GB, free: 132 kB / 0.5762 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 (6): * Single equations (assignments): 6 * 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.00104/0.2247, allocations: 0.8177 MB / 0.8418 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.2253, allocations: 159.8 kB / 0.842 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2253, allocations: 0 / 0.842 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.2256, allocations: 84.03 kB / 0.8421 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.2259, allocations: 8.688 kB / 0.8421 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.229, allocations: 1.856 MB / 0.8439 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.26e-05/0.2291, allocations: 85.19 kB / 0.844 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.899e-05/0.2292, allocations: 19.75 kB / 0.844 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.2293, allocations: 35.36 kB / 0.844 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.2293, allocations: 0 / 0.844 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.2524, allocations: 3.133 MB / 0.8471 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.48, allocations: 10.66 kB / 0.8471 GB, free: 9.957 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.006529717007652] Failed to read output from testmodel.py, exit status != 0: 11.63835097802803 11.663217747 11.448793584 Calling exit ...