Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001275/0.001275, allocations: 115.4 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.001418/0.001418, allocations: 210.2 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8789/0.8789, allocations: 133.9 MB / 443.5 MB, free: 13.81 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001941/0.001941, allocations: 65.34 kB / 0.6141 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.139, allocations: 85.84 MB / 0.6979 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.004068/0.1431, allocations: 1.486 MB / 0.6994 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1444, allocations: 0.6188 MB / 0.7 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.1445, allocations: 1.375 kB / 0.7 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.1445, allocations: 3.938 kB / 0.7 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.543e-05/0.1445, allocations: 7.938 kB / 0.7 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.1449, allocations: 61.69 kB / 0.7001 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.145, allocations: 28.3 kB / 0.7001 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/0.1451, allocations: 2.75 kB / 0.7001 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.1452, allocations: 28.09 kB / 0.7001 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/0.1453, allocations: 16.05 kB / 0.7001 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.1453, allocations: 1.375 kB / 0.7001 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.1454, allocations: 54.2 kB / 0.7002 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.1455, allocations: 7.938 kB / 0.7002 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.1455, allocations: 20.06 kB / 0.7002 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1457, allocations: 74.62 kB / 0.7003 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1457, allocations: 0 / 0.7003 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1457, allocations: 0 / 0.7003 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.1457, allocations: 0 / 0.7003 GB, free: 11.85 MB / 0.5137 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.000458/0.1461, allocations: 350.3 kB / 0.7006 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1462, allocations: 11.3 kB / 0.7006 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.327e-05/0.1462, allocations: 1.562 kB / 0.7006 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.1462, allocations: 42.73 kB / 0.7007 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.1464, allocations: 13.14 kB / 0.7007 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1466, allocations: 180.3 kB / 0.7009 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1466, allocations: 4.375 kB / 0.7009 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.1466, allocations: 1.75 kB / 0.7009 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1468, allocations: 49.86 kB / 0.7009 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1468, allocations: 0 / 0.7009 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1468, allocations: 5.359 kB / 0.7009 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1468, allocations: 0 / 0.7009 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.775e-05/0.1469, allocations: 22.98 kB / 0.7009 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.1473, allocations: 267.7 kB / 0.7012 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.744e-05/0.1473, allocations: 28.2 kB / 0.7012 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.1474, allocations: 14.34 kB / 0.7012 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008489/0.1483, allocations: 476.1 kB / 0.7017 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1483, allocations: 35.89 kB / 0.7017 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.1483, allocations: 0 / 0.7017 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002659/0.1486, allocations: 63.28 kB / 0.7018 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.1486, allocations: 56.78 kB / 0.7018 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.515e-05/0.1487, allocations: 111.8 kB / 0.7019 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1487, allocations: 26.86 kB / 0.702 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.1488, allocations: 85.23 kB / 0.7021 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.1488, allocations: 4.953 kB / 0.7021 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1488, allocations: 16.69 kB / 0.7021 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.149, allocations: 320 kB / 0.7024 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.291e-05/0.149, allocations: 5.938 kB / 0.7024 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.765e-05/0.149, allocations: 17.27 kB / 0.7024 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.592e-05/0.1491, allocations: 26.03 kB / 0.7024 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1491, allocations: 0 / 0.7024 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001253/0.1493, allocations: 58.83 kB / 0.7025 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1493, allocations: 4.281 kB / 0.7025 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1493, allocations: 1.188 kB / 0.7025 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1493, allocations: 4.094 kB / 0.7025 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.1494, allocations: 8.547 kB / 0.7025 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1494, allocations: 0 / 0.7025 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.1494, allocations: 3.156 kB / 0.7025 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.1494, allocations: 0 / 0.7025 GB, free: 9.484 MB / 0.5137 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.765e-05/0.1495, allocations: 117.3 kB / 0.7026 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.1495, allocations: 5.219 kB / 0.7026 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.1497, allocations: 69.92 kB / 0.7027 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1497, allocations: 5.031 kB / 0.7027 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1497, allocations: 0 / 0.7027 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1497, allocations: 0 / 0.7027 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1499, allocations: 168.3 kB / 0.7029 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1499, allocations: 1.219 kB / 0.7029 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.1499, allocations: 4.125 kB / 0.7029 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1499, allocations: 0 / 0.7029 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1499, allocations: 5.547 kB / 0.7029 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.15, allocations: 4 kB / 0.7029 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.15, allocations: 0 / 0.7029 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1501, allocations: 157.6 kB / 0.703 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.1502, allocations: 78.64 kB / 0.7031 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1502, allocations: 0 / 0.7031 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.1502, allocations: 5.609 kB / 0.7031 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.1503, allocations: 5.562 kB / 0.7031 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1503, allocations: 1.375 kB / 0.7031 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.713e-05/0.1503, allocations: 94.08 kB / 0.7032 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1503, allocations: 0 / 0.7032 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002372/0.1506, allocations: 16.44 kB / 0.7032 GB, free: 8.73 MB / 0.5137 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.0006035/0.1512, allocations: 0.6968 MB / 0.7039 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.1513, allocations: 30.64 kB / 0.7039 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1513, allocations: 4 kB / 0.7039 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.1514, allocations: 11.89 kB / 0.7039 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1516, allocations: 1.406 kB / 0.7039 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1529, allocations: 1.255 MB / 0.7052 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1532, allocations: 0.6866 MB / 0.7058 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.389e-05/0.1532, allocations: 2.969 kB / 0.7058 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.1533, allocations: 16.55 kB / 0.7059 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1533, allocations: 0 / 0.7059 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.1724, allocations: 1.671 MB / 0.7075 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/8.531, allocations: 16.72 kB / 0.7075 GB, free: 4.664 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.373203394992743] Failed to read output from testmodel.py, exit status != 0: 8.934885369963013 8.684419881 8.534085788 Calling exit ...