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.001799/0.001799, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002326/0.002326, allocations: 213.7 kB / 22.99 MB, free: 4.977 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.9877/0.9877, allocations: 149.9 MB / 463.1 MB, free: 10.3 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.003372/0.003372, allocations: 62.97 kB / 0.6411 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.218, allocations: 89.18 MB / 0.7282 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002822/0.2208, allocations: 1.477 MB / 0.7296 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.222, allocations: 0.5806 MB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.919e-05/0.2221, allocations: 0 / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.2221, allocations: 3.938 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.2222, allocations: 7.922 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.2225, allocations: 55.81 kB / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.839e-05/0.2226, allocations: 27.86 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.987e-05/0.2226, allocations: 11.98 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.2228, allocations: 19.88 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.2228, allocations: 23.91 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.2228, allocations: 4 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.223, allocations: 51.95 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.223, allocations: 0 / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.223, allocations: 11.94 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.2232, allocations: 68.02 kB / 0.7304 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2232, allocations: 0 / 0.7304 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2232, allocations: 0 / 0.7304 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2232, allocations: 3.938 kB / 0.7304 GB, free: 14.58 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.0005046/0.2237, allocations: 282 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.2237, allocations: 12.03 kB / 0.7307 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.2238, allocations: 34.75 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01879/0.2426, allocations: 2.436 MB / 0.7331 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.243, allocations: 154.4 kB / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.243, allocations: 384 / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.243, allocations: 4.375 kB / 0.7333 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005457/0.2485, allocations: 1.024 MB / 0.7343 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2485, allocations: 0 / 0.7343 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.2485, allocations: 0 / 0.7343 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2485, allocations: 0 / 0.7343 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.2589, allocations: 1.857 MB / 0.7361 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006544/0.2655, allocations: 1.414 MB / 0.7375 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.2756, allocations: 1.872 MB / 0.7393 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005162/0.2808, allocations: 0.9335 MB / 0.7402 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.2808, allocations: 0 / 0.7402 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.2809, allocations: 42.56 kB / 0.7403 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.2809, allocations: 0 / 0.7403 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.01533/0.2962, allocations: 2.741 MB / 0.7429 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.2963, allocations: 55.34 kB / 0.743 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2964, allocations: 117.8 kB / 0.7431 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.2964, allocations: 25.7 kB / 0.7431 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.2965, allocations: 80.14 kB / 0.7432 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.2965, allocations: 7.953 kB / 0.7432 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.2966, allocations: 25.69 kB / 0.7432 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2968, allocations: 322.8 kB / 0.7435 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005272/0.3021, allocations: 0.9326 MB / 0.7445 GB, free: 28 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005197/0.3072, allocations: 0.9252 MB / 0.7454 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009572/0.3168, allocations: 1.683 MB / 0.747 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3168, allocations: 0 / 0.747 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01513/0.332, allocations: 1.808 MB / 0.7488 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.332, allocations: 19.91 kB / 0.7488 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.332, allocations: 0 / 0.7488 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.332, allocations: 3.984 kB / 0.7488 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004806/0.3368, allocations: 463.5 kB / 0.7492 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.3368, allocations: 3.984 kB / 0.7492 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/0.3413, allocations: 451.5 kB / 0.7497 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.3414, allocations: 7.984 kB / 0.7497 GB, free: 10.67 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.0002907/0.3417, allocations: 113.8 kB / 0.7498 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.3418, allocations: 7.984 kB / 0.7498 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.3419, allocations: 7.625 kB / 0.7498 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3419, allocations: 0 / 0.7498 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3419, allocations: 4 kB / 0.7498 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3419, allocations: 4 kB / 0.7498 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.3425, allocations: 269.3 kB / 0.7501 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3425, allocations: 4 kB / 0.7501 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004395/0.3469, allocations: 463.4 kB / 0.7505 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.347, allocations: 0 / 0.7505 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.347, allocations: 11.98 kB / 0.7505 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.347, allocations: 0 / 0.7505 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.347, allocations: 0 / 0.7505 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/0.3587, allocations: 1.912 MB / 0.7524 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.3587, allocations: 11.97 kB / 0.7524 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.3588, allocations: 4 kB / 0.7524 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/0.3616, allocations: 451.5 kB / 0.7528 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.3616, allocations: 7.984 kB / 0.7528 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.3617, allocations: 3.984 kB / 0.7528 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.369e-05/0.3618, allocations: 87.28 kB / 0.7529 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.3618, allocations: 4 kB / 0.7529 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003098/0.3621, allocations: 36 kB / 0.753 GB, free: 7.227 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.01054/0.3726, allocations: 2.441 MB / 0.7553 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01042/0.383, allocations: 1.869 MB / 0.7572 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.383, allocations: 288 / 0.7572 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005176/0.3882, allocations: 0.9444 MB / 0.7581 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.3885, allocations: 3.938 kB / 0.7581 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3754/0.7639, allocations: 6.805 MB / 0.7647 GB, free: 36.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.149e-05/0.764, allocations: 63.77 kB / 0.7648 GB, free: 36.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002871/0.7642, allocations: 35.53 kB / 0.7648 GB, free: 36.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.7645, allocations: 24.05 kB / 0.7649 GB, free: 36.12 MB / 0.5762 GB Notification: Performance of SimCode: time 1.723e-06/0.7645, allocations: 2.812 kB / 0.7649 GB, free: 36.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.7984, allocations: 4.172 MB / 0.7689 GB, free: 35.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.91, allocations: 13 kB / 0.769 GB, free: 35.19 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.834930646698922] Failed to read output from testmodel.py, exit status != 0: 12.021819160785526 12.044359654 11.817215584 Calling exit ...