Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.001656/0.001656, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001453/0.001453, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.793 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.00283/0.00283, allocations: 283.2 kB / 312.7 MB, free: 2.598 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.288/1.288, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.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.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",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.00372/0.00372, allocations: 108 kB / 0.7395 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2022, allocations: 95.38 MB / 0.8326 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002894/0.2051, allocations: 1.466 MB / 0.8341 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004795/0.2056, allocations: 180.3 kB / 0.8343 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.2056, allocations: 0 / 0.8343 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.2057, allocations: 3.938 kB / 0.8343 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.726e-05/0.2057, allocations: 7.938 kB / 0.8343 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.206, allocations: 35.91 kB / 0.8343 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.425e-05/0.2061, allocations: 19.98 kB / 0.8343 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2062, allocations: 15.92 kB / 0.8343 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.8e-05/0.2063, allocations: 11.92 kB / 0.8343 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.2063, allocations: 4 kB / 0.8343 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.2063, allocations: 4 kB / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.2064, allocations: 35.95 kB / 0.8344 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.2064, allocations: 3.938 kB / 0.8344 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.2065, allocations: 8 kB / 0.8344 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.2066, allocations: 52.08 kB / 0.8344 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2066, allocations: 0 / 0.8344 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.118e-06/0.2066, allocations: 3.984 kB / 0.8344 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.2066, allocations: 0 / 0.8344 GB, free: 6.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004812/0.2071, allocations: 266.3 kB / 0.8347 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2072, allocations: 9.344 kB / 0.8347 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.2072, allocations: 30.75 kB / 0.8347 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.2072, allocations: 8.891 kB / 0.8347 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2074, allocations: 114.5 kB / 0.8349 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.2074, allocations: 4.375 kB / 0.8349 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.2074, allocations: 8.312 kB / 0.8349 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.2076, allocations: 54.17 kB / 0.8349 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2076, allocations: 3.938 kB / 0.8349 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2076, allocations: 0 / 0.8349 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2076, allocations: 0 / 0.8349 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.2078, allocations: 39.89 kB / 0.835 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.2082, allocations: 208 kB / 0.8352 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.2083, allocations: 46.53 kB / 0.8352 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.761e-05/0.2084, allocations: 20.91 kB / 0.8352 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.953e-05/0.2085, allocations: 11.94 kB / 0.8352 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.2085, allocations: 30.56 kB / 0.8353 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2085, allocations: 0 / 0.8353 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003675/0.2089, allocations: 85.59 kB / 0.8353 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.2089, allocations: 51.53 kB / 0.8354 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.509e-05/0.209, allocations: 109.8 kB / 0.8355 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.209, allocations: 25.7 kB / 0.8355 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.2091, allocations: 81.81 kB / 0.8356 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.2091, allocations: 7.953 kB / 0.8356 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.2092, allocations: 17.7 kB / 0.8356 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2093, allocations: 314.8 kB / 0.8359 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.2094, allocations: 15.98 kB / 0.8359 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.2095, allocations: 15.92 kB / 0.836 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.2096, allocations: 44.88 kB / 0.836 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2096, allocations: 3.938 kB / 0.836 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/0.2098, allocations: 61.67 kB / 0.8361 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2099, allocations: 7.984 kB / 0.8361 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2099, allocations: 0 / 0.8361 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2099, allocations: 0 / 0.8361 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.21, allocations: 16.03 kB / 0.8361 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.21, allocations: 0 / 0.8361 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.21, allocations: 7.984 kB / 0.8361 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.21, allocations: 0 / 0.8361 GB, free: 4.547 MB / 0.5762 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.531e-05/0.2101, allocations: 118.4 kB / 0.8362 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.2102, allocations: 3.953 kB / 0.8362 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.2104, allocations: 76.95 kB / 0.8363 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2104, allocations: 3.938 kB / 0.8363 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2104, allocations: 4.031 kB / 0.8363 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2104, allocations: 0 / 0.8363 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.2106, allocations: 132.7 kB / 0.8364 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2106, allocations: 4.25 kB / 0.8364 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.2107, allocations: 4 kB / 0.8364 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2107, allocations: 4 kB / 0.8364 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.2107, allocations: 0 / 0.8364 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2107, allocations: 0 / 0.8364 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2107, allocations: 4 kB / 0.8364 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.2109, allocations: 171.4 kB / 0.8366 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.2109, allocations: 7.984 kB / 0.8366 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.211, allocations: 3.938 kB / 0.8366 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.211, allocations: 4 kB / 0.8366 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.2111, allocations: 7.984 kB / 0.8366 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.2111, allocations: 0 / 0.8366 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.889e-05/0.2111, allocations: 83.28 kB / 0.8367 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2111, allocations: 0 / 0.8367 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002279/0.2113, allocations: 11.94 kB / 0.8367 GB, free: 3.836 MB / 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 (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.0006599/0.212, allocations: 0.7162 MB / 0.8374 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.2122, allocations: 31.97 kB / 0.8374 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2122, allocations: 0 / 0.8374 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.2123, allocations: 19.98 kB / 0.8375 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2127, allocations: 12.14 kB / 0.8375 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.2132, allocations: 136.2 kB / 0.8376 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.345e-05/0.2133, allocations: 63.28 kB / 0.8377 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.2133, allocations: 0 / 0.8377 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.2133, allocations: 15.44 kB / 0.8377 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.2133, allocations: 0 / 0.8377 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.246, allocations: 1.99 MB / 0.8396 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.56, allocations: 2.734 kB / 0.8396 GB, free: 0.9102 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.783191983122379] Failed to read output from testmodel.py, exit status != 0: 11.664494761731476 11.69063743 11.479247074 Calling exit ...