Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.001286/0.001286, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002106/0.002106, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.8662/0.8662, allocations: 134 MB / 447.2 MB, free: 9.961 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.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",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.001932/0.001932, allocations: 69.41 kB / 0.6193 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.177, allocations: 85.91 MB / 0.7031 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002829/0.1798, allocations: 1.451 MB / 0.7046 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008682/0.1807, allocations: 487.7 kB / 0.705 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.1807, allocations: 0 / 0.705 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.1807, allocations: 0 / 0.705 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.719e-05/0.1808, allocations: 7.938 kB / 0.705 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.181, allocations: 19.92 kB / 0.7051 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.1811, allocations: 23.92 kB / 0.7051 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.817e-05/0.1812, allocations: 8 kB / 0.7051 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.427e-05/0.1812, allocations: 11.94 kB / 0.7051 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.1813, allocations: 11.92 kB / 0.7051 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1813, allocations: 11.92 kB / 0.7051 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.86e-05/0.1814, allocations: 19.92 kB / 0.7051 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.1814, allocations: 4 kB / 0.7051 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.1814, allocations: 7.938 kB / 0.7052 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.1815, allocations: 36.16 kB / 0.7052 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.1815, allocations: 4 kB / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1815, allocations: 0 / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1815, allocations: 0 / 0.7052 GB, free: 14.94 MB / 0.5294 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.0004515/0.182, allocations: 262.3 kB / 0.7054 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.182, allocations: 16.03 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.158e-05/0.182, allocations: 4.125 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.1821, allocations: 30.75 kB / 0.7055 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.1821, allocations: 8.891 kB / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.1822, allocations: 106.5 kB / 0.7056 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1822, allocations: 4.375 kB / 0.7056 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-06/0.1822, allocations: 384 / 0.7056 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1824, allocations: 57.55 kB / 0.7057 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1824, allocations: 0 / 0.7057 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1824, allocations: 0 / 0.7057 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1824, allocations: 4 kB / 0.7057 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.1826, allocations: 35.95 kB / 0.7057 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.1829, allocations: 216 kB / 0.7059 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1831, allocations: 34.56 kB / 0.7059 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.308e-05/0.1831, allocations: 28.84 kB / 0.706 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.1833, allocations: 7.984 kB / 0.706 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1833, allocations: 30.56 kB / 0.706 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1833, allocations: 4 kB / 0.706 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003672/0.1836, allocations: 85.59 kB / 0.7061 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.1837, allocations: 51.41 kB / 0.7061 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.1838, allocations: 101.9 kB / 0.7062 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1838, allocations: 25.7 kB / 0.7063 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.1839, allocations: 84.12 kB / 0.7063 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1839, allocations: 11.89 kB / 0.7063 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.1839, allocations: 17.84 kB / 0.7064 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.1841, allocations: 318.8 kB / 0.7067 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.1842, allocations: 19.92 kB / 0.7067 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/0.1842, allocations: 15.97 kB / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1844, allocations: 36.83 kB / 0.7067 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1844, allocations: 0 / 0.7067 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002054/0.1846, allocations: 73.72 kB / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1846, allocations: 4 kB / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1846, allocations: 0 / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1846, allocations: 7.938 kB / 0.7068 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.1847, allocations: 7.984 kB / 0.7068 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1847, allocations: 0 / 0.7068 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.1848, allocations: 7.938 kB / 0.7068 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.1848, allocations: 3.938 kB / 0.7068 GB, free: 13.06 MB / 0.5294 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 9.065e-05/0.1848, allocations: 121.8 kB / 0.707 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1849, allocations: 0 / 0.707 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.1851, allocations: 77.22 kB / 0.707 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1851, allocations: 0 / 0.707 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1851, allocations: 0 / 0.707 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1851, allocations: 0 / 0.707 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1853, allocations: 136.6 kB / 0.7072 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1853, allocations: 0 / 0.7072 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.999e-05/0.1853, allocations: 12.02 kB / 0.7072 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1853, allocations: 0 / 0.7072 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.1853, allocations: 0 / 0.7072 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1853, allocations: 4 kB / 0.7072 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1854, allocations: 3.984 kB / 0.7072 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1856, allocations: 167.4 kB / 0.7073 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.1856, allocations: 0 / 0.7073 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1856, allocations: 0 / 0.7073 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.1857, allocations: 12.02 kB / 0.7073 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1857, allocations: 4 kB / 0.7074 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1857, allocations: 0 / 0.7074 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.1858, allocations: 83.28 kB / 0.7074 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1858, allocations: 0 / 0.7074 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000216/0.186, allocations: 4 kB / 0.7074 GB, free: 12.38 MB / 0.5294 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.0005987/0.1866, allocations: 0.7083 MB / 0.7081 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1868, allocations: 36 kB / 0.7082 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1868, allocations: 0 / 0.7082 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.1869, allocations: 23.97 kB / 0.7082 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1872, allocations: 4 kB / 0.7082 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.1876, allocations: 151.2 kB / 0.7083 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.744e-05/0.1877, allocations: 67.19 kB / 0.7084 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.1877, allocations: 12.06 kB / 0.7084 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.1878, allocations: 7.438 kB / 0.7084 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1878, allocations: 0 / 0.7084 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.2093, allocations: 1.62 MB / 0.71 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.25, allocations: 6.812 kB / 0.71 GB, free: 9.801 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.992315185023472] Failed to read output from testmodel.py, exit status != 0: 11.408278091927059 11.437693802 11.250604041 Calling exit ...