Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.0007294/0.0007294, 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.0007494/0.0007494, allocations: 169.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.85/0.85, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.001378/0.001378, allocations: 233.7 kB / 259.4 MB, free: 13.02 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.6584/0.6584, 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.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.651e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002089/0.002115, allocations: 1.483 MB / 0.6478 GB, free: 372 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2263/0.2284, allocations: 0.5717 MB / 0.6483 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.2285, allocations: 0 / 0.6483 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.2285, allocations: 4.75 kB / 0.6483 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.2285, allocations: 8.375 kB / 0.6483 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.2289, allocations: 60.56 kB / 0.6484 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.229, allocations: 29.62 kB / 0.6484 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.2291, allocations: 6.484 kB / 0.6484 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.2292, allocations: 28.44 kB / 0.6484 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.2292, allocations: 13.45 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.2293, allocations: 1.906 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.2294, allocations: 57.5 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.2294, allocations: 5.969 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.2294, allocations: 10.06 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.2296, allocations: 80.09 kB / 0.6486 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2296, allocations: 0 / 0.6486 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2296, allocations: 1.531 kB / 0.6486 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2296, allocations: 0 / 0.6486 GB, free: 55.83 MB / 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.000307/0.2299, allocations: 272.9 kB / 0.6489 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2299, allocations: 14.41 kB / 0.6489 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.347e-05/0.2299, allocations: 34.91 kB / 0.6489 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.2301, allocations: 19.72 kB / 0.6489 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.2302, allocations: 115.4 kB / 0.649 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.2302, allocations: 1.031 kB / 0.649 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.2302, allocations: 4.031 kB / 0.649 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.2303, allocations: 43.06 kB / 0.6491 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.2303, allocations: 0.7969 kB / 0.6491 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.2304, allocations: 4.719 kB / 0.6491 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2304, allocations: 1.312 kB / 0.6491 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.773e-05/0.2304, allocations: 24.89 kB / 0.6491 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.2307, allocations: 221.1 kB / 0.6493 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.747e-05/0.2307, allocations: 31.19 kB / 0.6494 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.2308, allocations: 18.72 kB / 0.6494 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/0.2311, allocations: 98.19 kB / 0.6495 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.2311, allocations: 33.41 kB / 0.6495 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.2311, allocations: 0.9062 kB / 0.6495 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0001889/0.2313, allocations: 65.3 kB / 0.6496 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.2313, allocations: 56.97 kB / 0.6496 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.2314, allocations: 111.3 kB / 0.6497 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-06/0.2314, allocations: 26.61 kB / 0.6498 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.2314, allocations: 89.73 kB / 0.6498 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.2314, allocations: 6.328 kB / 0.6498 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.2315, allocations: 19.34 kB / 0.6499 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.543e-05/0.2315, allocations: 316.6 kB / 0.6502 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.828e-05/0.2315, allocations: 11.8 kB / 0.6502 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.2315, allocations: 9.484 kB / 0.6502 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/0.2316, allocations: 30 kB / 0.6502 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2316, allocations: 0 / 0.6502 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.667e-05/0.2317, allocations: 63.3 kB / 0.6503 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2317, allocations: 4.719 kB / 0.6503 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2317, allocations: 1.609 kB / 0.6503 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2317, allocations: 0.75 kB / 0.6503 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.2318, allocations: 8.344 kB / 0.6503 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2318, allocations: 1.312 kB / 0.6503 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.2318, allocations: 1.938 kB / 0.6503 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.2318, allocations: 1.594 kB / 0.6503 GB, free: 54.36 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 4.27e-05/0.2318, allocations: 114.1 kB / 0.6504 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.2319, allocations: 5.625 kB / 0.6504 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.232, allocations: 69.33 kB / 0.6505 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.232, allocations: 1.156 kB / 0.6505 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.232, allocations: 0 / 0.6505 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.232, allocations: 1.906 kB / 0.6505 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.519e-05/0.2321, allocations: 129 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2321, allocations: 6.969 kB / 0.6506 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.2321, allocations: 6.391 kB / 0.6506 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.2321, allocations: 1.281 kB / 0.6506 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2321, allocations: 4.078 kB / 0.6506 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2321, allocations: 0.8125 kB / 0.6506 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2321, allocations: 7.375 kB / 0.6506 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.641e-05/0.2322, allocations: 153.2 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.2322, allocations: 10.98 kB / 0.6508 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.2322, allocations: 0.7969 kB / 0.6508 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.971e-05/0.2323, allocations: 2.922 kB / 0.6508 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.2323, allocations: 3.078 kB / 0.6508 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2323, allocations: 4.469 kB / 0.6508 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.2323, allocations: 87.64 kB / 0.6509 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2323, allocations: 1.438 kB / 0.6509 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001952/0.2325, allocations: 17.8 kB / 0.6509 GB, free: 53.82 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.0002872/0.2328, allocations: 0.6994 MB / 0.6516 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.2329, allocations: 26.61 kB / 0.6516 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2329, allocations: 3.438 kB / 0.6516 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.534e-05/0.233, allocations: 10.5 kB / 0.6516 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.2331, allocations: 4 kB / 0.6516 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007101/0.2338, allocations: 1.255 MB / 0.6528 GB, free: 52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.934e-05/0.2339, allocations: 71.25 kB / 0.6529 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.2339, allocations: 4.656 kB / 0.6529 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.2339, allocations: 16.03 kB / 0.6529 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/0.2339, allocations: 0 / 0.6529 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.2476, allocations: 2.308 MB / 0.6552 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.405/6.653, allocations: 7.984 kB / 0.6552 GB, free: 51.07 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.10382042825222] Failed to read output from testmodel.py, exit status != 0: 6.73037461284548 6.7399715669999996 6.508512009 Calling exit ...