Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001737/0.001737, allocations: 119 kB / 19.69 MB, free: 2.199 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.001495/0.001495, allocations: 224.3 kB / 23.01 MB, free: 5.051 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9805/0.9805, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002054/0.002054, allocations: 69.22 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1854, allocations: 89.17 MB / 0.7284 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002898/0.1883, allocations: 1.492 MB / 0.7298 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1894, allocations: 0.635 MB / 0.7304 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.1894, allocations: 0 / 0.7304 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.1895, allocations: 3.938 kB / 0.7304 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.1895, allocations: 3.938 kB / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.1898, allocations: 59.81 kB / 0.7305 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.1899, allocations: 31.86 kB / 0.7305 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.623e-05/0.19, allocations: 4 kB / 0.7305 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1902, allocations: 27.91 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.307e-05/0.1902, allocations: 11.94 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1902, allocations: 4 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1904, allocations: 51.95 kB / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.1904, allocations: 4 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.1904, allocations: 23.84 kB / 0.7306 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1906, allocations: 71.95 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1906, allocations: 4 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1906, allocations: 0 / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.1906, allocations: 0 / 0.7307 GB, free: 14.79 MB / 0.5606 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.0004282/0.191, allocations: 282 kB / 0.731 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1911, allocations: 8.031 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.1911, allocations: 34.75 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01604/0.2071, allocations: 2.432 MB / 0.7334 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.2075, allocations: 146.4 kB / 0.7335 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2075, allocations: 4.375 kB / 0.7335 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.2076, allocations: 4.375 kB / 0.7335 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005537/0.2131, allocations: 1.012 MB / 0.7345 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2131, allocations: 0 / 0.7345 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.2131, allocations: 0 / 0.7345 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2131, allocations: 11.94 kB / 0.7345 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.2234, allocations: 1.861 MB / 0.7364 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006517/0.23, allocations: 1.473 MB / 0.7378 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.24, allocations: 1.875 MB / 0.7396 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004955/0.245, allocations: 0.9335 MB / 0.7405 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.245, allocations: 4 kB / 0.7406 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.2451, allocations: 38.5 kB / 0.7406 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 3.035e-06/0.2451, allocations: 0 / 0.7406 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.01462/0.2597, allocations: 2.745 MB / 0.7433 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.2598, allocations: 55.41 kB / 0.7433 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2599, allocations: 109.8 kB / 0.7434 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.2599, allocations: 25.7 kB / 0.7435 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.26, allocations: 88.12 kB / 0.7435 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.26, allocations: 3.953 kB / 0.7435 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2601, allocations: 29.72 kB / 0.7436 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2603, allocations: 322.8 kB / 0.7439 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004876/0.2652, allocations: 0.9287 MB / 0.7448 GB, free: 184 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004887/0.27, allocations: 0.9325 MB / 0.7457 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008942/0.279, allocations: 1.675 MB / 0.7473 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.279, allocations: 0 / 0.7473 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.009311/0.2883, allocations: 1.812 MB / 0.7491 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.2883, allocations: 8 kB / 0.7491 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2883, allocations: 3.938 kB / 0.7491 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.2884, allocations: 0 / 0.7491 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/0.2911, allocations: 463.5 kB / 0.7496 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2911, allocations: 0 / 0.7496 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/0.2938, allocations: 467.4 kB / 0.75 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.2938, allocations: 3.984 kB / 0.75 GB, free: 10.82 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 0.0001637/0.294, allocations: 119.7 kB / 0.7501 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.294, allocations: 0 / 0.7501 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.2941, allocations: 19.61 kB / 0.7501 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2941, allocations: 0 / 0.7501 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2941, allocations: 0 / 0.7501 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2941, allocations: 0 / 0.7501 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.2946, allocations: 345.1 kB / 0.7505 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2946, allocations: 0 / 0.7505 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/0.2975, allocations: 463.5 kB / 0.7509 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2975, allocations: 3.938 kB / 0.7509 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.2975, allocations: 7.984 kB / 0.7509 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2975, allocations: 4 kB / 0.7509 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2975, allocations: 0 / 0.7509 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/0.3076, allocations: 1.915 MB / 0.7528 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.3076, allocations: 0 / 0.7528 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.3076, allocations: 4 kB / 0.7528 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002831/0.3105, allocations: 451.5 kB / 0.7532 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3105, allocations: 0 / 0.7532 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.3105, allocations: 15.92 kB / 0.7532 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.709e-05/0.3106, allocations: 83.27 kB / 0.7533 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3106, allocations: 0 / 0.7533 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003211/0.3109, allocations: 40 kB / 0.7534 GB, free: 7.312 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.0103/0.3212, allocations: 2.441 MB / 0.7557 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01019/0.3314, allocations: 1.881 MB / 0.7576 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3314, allocations: 0 / 0.7576 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00514/0.3366, allocations: 0.9368 MB / 0.7585 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.3368, allocations: 0 / 0.7585 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3769/0.7138, allocations: 6.809 MB / 0.7651 GB, free: 36.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.7139, allocations: 0.6803 MB / 0.7658 GB, free: 35.79 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002588/0.7142, allocations: 30.94 kB / 0.7658 GB, free: 35.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.7144, allocations: 23.45 kB / 0.7659 GB, free: 35.76 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/0.7144, allocations: 5.719 kB / 0.7659 GB, free: 35.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.7455, allocations: 3.517 MB / 0.7693 GB, free: 35.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.82, allocations: 5.797 kB / 0.7693 GB, free: 35.34 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.588485281914473] Failed to read output from testmodel.py, exit status != 0: 11.922857870114967 11.944723326 11.750227351 Calling exit ...