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.0008555/0.0008555, 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.0009086/0.0009086, allocations: 165.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.8587/0.8587, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001484/0.001484, allocations: 237.5 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6509/0.6509, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.167e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.001826/0.001848, allocations: 1.471 MB / 0.6477 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003295/0.002177, allocations: 184.3 kB / 0.6479 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.002205, allocations: 0 / 0.6479 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.002229, allocations: 0 / 0.6479 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/0.002265, allocations: 3.984 kB / 0.6479 GB, free: 200 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.002503, allocations: 43.78 kB / 0.648 GB, free: 156 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.00256, allocations: 23.86 kB / 0.648 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.002646, allocations: 8 kB / 0.648 GB, free: 124 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.002691, allocations: 15.97 kB / 0.648 GB, free: 108 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.989e-05/0.002721, allocations: 7.984 kB / 0.648 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.002733, allocations: 4 kB / 0.648 GB, free: 96 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.749e-05/0.002801, allocations: 31.97 kB / 0.648 GB, free: 64 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.002813, allocations: 0 / 0.648 GB, free: 64 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.00283, allocations: 11.94 kB / 0.6481 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.002937, allocations: 47.86 kB / 0.6481 GB, free: 4 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.00294, allocations: 0 / 0.6481 GB, free: 4 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002941, allocations: 0 / 0.6481 GB, free: 4 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.002947, allocations: 3.984 kB / 0.6481 GB, free: 0 / 0.5573 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.2198/0.2227, allocations: 261.2 kB / 0.6484 GB, free: 57.26 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2228, allocations: 12.78 kB / 0.6484 GB, free: 57.26 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.552e-05/0.2228, allocations: 33.25 kB / 0.6484 GB, free: 57.22 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.2228, allocations: 2.188 kB / 0.6484 GB, free: 57.22 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.754e-05/0.2229, allocations: 108.4 kB / 0.6485 GB, free: 57.1 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.2229, allocations: 2 kB / 0.6485 GB, free: 57.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.2229, allocations: 2.312 kB / 0.6485 GB, free: 57.1 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.223, allocations: 55.95 kB / 0.6486 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.223, allocations: 1.375 kB / 0.6486 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.223, allocations: 1.094 kB / 0.6486 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.223, allocations: 6.297 kB / 0.6486 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.2231, allocations: 34.94 kB / 0.6486 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.2234, allocations: 217.5 kB / 0.6488 GB, free: 56.83 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.338e-05/0.2235, allocations: 37.25 kB / 0.6488 GB, free: 56.81 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/0.2235, allocations: 24.77 kB / 0.6489 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.719e-05/0.2236, allocations: 8.484 kB / 0.6489 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.2236, allocations: 39.69 kB / 0.6489 GB, free: 56.76 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/0.2236, allocations: 1.031 kB / 0.6489 GB, free: 56.76 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002243/0.2239, allocations: 81.34 kB / 0.649 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.2239, allocations: 52.94 kB / 0.649 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.792e-05/0.2239, allocations: 102.5 kB / 0.6491 GB, free: 56.57 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.2239, allocations: 29.69 kB / 0.6492 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.2239, allocations: 88.25 kB / 0.6493 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.224, allocations: 10.58 kB / 0.6493 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.224, allocations: 14.78 kB / 0.6493 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.94e-05/0.224, allocations: 315.5 kB / 0.6496 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.2241, allocations: 18.08 kB / 0.6496 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.808e-05/0.2241, allocations: 15.61 kB / 0.6496 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.031e-05/0.2242, allocations: 44.47 kB / 0.6497 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2242, allocations: 0 / 0.6497 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001054/0.2243, allocations: 73.86 kB / 0.6497 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2243, allocations: 4.812 kB / 0.6497 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2243, allocations: 0.6875 kB / 0.6497 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2243, allocations: 1.297 kB / 0.6497 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.2244, allocations: 11.62 kB / 0.6497 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2244, allocations: 0.75 kB / 0.6497 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.2244, allocations: 5.906 kB / 0.6497 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.2244, allocations: 1.438 kB / 0.6497 GB, free: 56.07 MB / 0.5573 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 3.849e-05/0.2245, allocations: 111.2 kB / 0.6499 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.2245, allocations: 10.69 kB / 0.6499 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.2246, allocations: 76.27 kB / 0.6499 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2246, allocations: 2.75 kB / 0.6499 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2246, allocations: 0.8125 kB / 0.6499 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2246, allocations: 0 / 0.6499 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.816e-05/0.2247, allocations: 125.9 kB / 0.6501 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2247, allocations: 0 / 0.6501 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.2247, allocations: 12.39 kB / 0.6501 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2247, allocations: 6.344 kB / 0.6501 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.2247, allocations: 2.469 kB / 0.6501 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2247, allocations: 0 / 0.6501 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2247, allocations: 4.469 kB / 0.6501 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.2249, allocations: 162 kB / 0.6502 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.2249, allocations: 8.094 kB / 0.6502 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.2249, allocations: 1.328 kB / 0.6502 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.57e-05/0.2249, allocations: 6.391 kB / 0.6503 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.2249, allocations: 4.156 kB / 0.6503 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2249, allocations: 0 / 0.6503 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.111e-05/0.225, allocations: 85.16 kB / 0.6503 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.225, allocations: 0 / 0.6503 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001563/0.2251, allocations: 11.58 kB / 0.6504 GB, free: 55.55 MB / 0.5573 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.0002989/0.2254, allocations: 0.7067 MB / 0.651 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.2256, allocations: 41.69 kB / 0.6511 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2256, allocations: 0.75 kB / 0.6511 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.2256, allocations: 21.72 kB / 0.6511 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2258, allocations: 6.25 kB / 0.6511 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.2262, allocations: 138.9 kB / 0.6512 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.304e-05/0.2262, allocations: 65 kB / 0.6513 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.2262, allocations: 1.703 kB / 0.6513 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.2263, allocations: 11.42 kB / 0.6513 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.2263, allocations: 0 / 0.6513 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.2406, allocations: 2.135 MB / 0.6534 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.446/6.687, allocations: 7.547 kB / 0.6534 GB, free: 53.88 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.154251447878778] Failed to read output from testmodel.py, exit status != 0: 6.763672555796802 6.772876867 6.768025216 Calling exit ...