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.001817/0.001817, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002227/0.002227, allocations: 215 kB / 20.13 MB, free: 2.949 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.002552/0.002552, allocations: 284.6 kB / 309.8 MB, free: 3.48 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.052/1.052, allocations: 180.6 MB / 0.5338 GB, free: 12.43 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.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",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.003013/0.003013, allocations: 99.83 kB / 0.7347 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5166, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002322/0.5189, allocations: 1.499 MB / 0.8293 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000807/0.5197, allocations: 0.6153 MB / 0.8299 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.5197, allocations: 0 / 0.8299 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.5198, allocations: 4.5 kB / 0.8299 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.5198, allocations: 12.38 kB / 0.8299 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.5201, allocations: 59.92 kB / 0.8299 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.5201, allocations: 35.3 kB / 0.83 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.023e-05/0.5202, allocations: 3.422 kB / 0.83 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.5203, allocations: 26.69 kB / 0.83 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.442e-05/0.5204, allocations: 15.91 kB / 0.83 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.5204, allocations: 2.625 kB / 0.83 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.5205, allocations: 57 kB / 0.8301 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.5205, allocations: 4.75 kB / 0.8301 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.5205, allocations: 11.88 kB / 0.8301 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.5207, allocations: 74.36 kB / 0.8301 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5207, allocations: 0.5625 kB / 0.8301 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5207, allocations: 0 / 0.8301 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.5207, allocations: 0 / 0.8301 GB, free: 1.422 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.000317/0.521, allocations: 357.9 kB / 0.8305 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.521, allocations: 7.875 kB / 0.8305 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.096e-05/0.521, allocations: 2.812 kB / 0.8305 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.74e-05/0.521, allocations: 31.31 kB / 0.8305 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.5212, allocations: 24.09 kB / 0.8306 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.5213, allocations: 173.8 kB / 0.8307 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.5213, allocations: 4.312 kB / 0.8307 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.924e-06/0.5213, allocations: 384 / 0.8307 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.5214, allocations: 46.34 kB / 0.8308 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.5214, allocations: 0 / 0.8308 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.5214, allocations: 3.188 kB / 0.8308 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.5215, allocations: 0 / 0.8308 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.275e-05/0.5215, allocations: 19.28 kB / 0.8308 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.5217, allocations: 261 kB / 0.831 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/0.5218, allocations: 36.36 kB / 0.8311 GB, free: 444 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.5219, allocations: 12.36 kB / 0.8311 GB, free: 436 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007173/0.5226, allocations: 480.1 kB / 0.8315 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.5226, allocations: 34.56 kB / 0.8316 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.5226, allocations: 0 / 0.8316 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002386/0.5228, allocations: 64.22 kB / 0.8316 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.5229, allocations: 56.12 kB / 0.8317 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.523, allocations: 116.2 kB / 0.8318 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.523, allocations: 25.7 kB / 0.8318 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.523, allocations: 88.45 kB / 0.8319 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.5231, allocations: 7.891 kB / 0.8319 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.5231, allocations: 14.12 kB / 0.8319 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5232, allocations: 323 kB / 0.8322 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-05/0.5233, allocations: 5.016 kB / 0.8322 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.5233, allocations: 16.31 kB / 0.8323 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.921e-05/0.5234, allocations: 27.17 kB / 0.8323 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5234, allocations: 0 / 0.8323 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001221/0.5235, allocations: 58.27 kB / 0.8323 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.5235, allocations: 7.062 kB / 0.8323 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5235, allocations: 0 / 0.8323 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5235, allocations: 0 / 0.8323 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.5236, allocations: 10.94 kB / 0.8324 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.5236, allocations: 0.75 kB / 0.8324 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.5236, allocations: 7.266 kB / 0.8324 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.5237, allocations: 0 / 0.8324 GB, free: 15.16 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 (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 8.69e-05/0.5237, allocations: 117.1 kB / 0.8325 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.5238, allocations: 3.375 kB / 0.8325 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.5239, allocations: 58.92 kB / 0.8325 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5239, allocations: 1.906 kB / 0.8325 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5239, allocations: 4.031 kB / 0.8325 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5239, allocations: 0.7031 kB / 0.8325 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.5241, allocations: 168.1 kB / 0.8327 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5241, allocations: 3.938 kB / 0.8327 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.5242, allocations: 6.047 kB / 0.8327 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5242, allocations: 0 / 0.8327 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.5242, allocations: 2.625 kB / 0.8327 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5242, allocations: 0.5625 kB / 0.8327 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5242, allocations: 0 / 0.8327 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.5243, allocations: 156.1 kB / 0.8329 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.5244, allocations: 77.91 kB / 0.8329 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.5244, allocations: 0.9375 kB / 0.8329 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.188e-05/0.5245, allocations: 7.844 kB / 0.8329 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.5245, allocations: 0.7969 kB / 0.8329 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.5245, allocations: 1.156 kB / 0.8329 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.482e-05/0.5246, allocations: 95.53 kB / 0.833 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5246, allocations: 4.031 kB / 0.833 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002371/0.5248, allocations: 27.06 kB / 0.8331 GB, free: 14.45 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 (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.0005569/0.5253, allocations: 0.6953 MB / 0.8337 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.5255, allocations: 25.84 kB / 0.8338 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5255, allocations: 0 / 0.8338 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.558e-05/0.5256, allocations: 19.33 kB / 0.8338 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.5258, allocations: 2.422 kB / 0.8338 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.5271, allocations: 1.259 MB / 0.835 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.5275, allocations: 0.6802 MB / 0.8357 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.42e-05/0.5275, allocations: 4.734 kB / 0.8357 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.5275, allocations: 13.95 kB / 0.8357 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5275, allocations: 1.531 kB / 0.8357 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.5451, allocations: 1.702 MB / 0.8374 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.803, allocations: 13.59 kB / 0.8374 GB, free: 11.42 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.875395549985114] Failed to read output from testmodel.py, exit status != 0: 8.928385874023661 8.953216544 8.428340993 Calling exit ...