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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 106.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.8678/0.8678, allocations: 134 MB / 436.6 MB, free: 1.281 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002966/0.002966, allocations: 71.52 kB / 0.6051 GB, free: 15.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1795, allocations: 84.67 MB / 0.6878 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002599/0.1821, allocations: 1.444 MB / 0.6892 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008247/0.183, allocations: 472.2 kB / 0.6897 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.183, allocations: 4 kB / 0.6897 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.183, allocations: 3.938 kB / 0.6897 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.17e-05/0.1831, allocations: 7.938 kB / 0.6897 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.1833, allocations: 23.98 kB / 0.6897 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.601e-05/0.1834, allocations: 19.92 kB / 0.6897 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.1834, allocations: 8 kB / 0.6897 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.1835, allocations: 23.84 kB / 0.6898 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.1836, allocations: 7.938 kB / 0.6898 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.1836, allocations: 0 / 0.6898 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.1836, allocations: 23.97 kB / 0.6898 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.1836, allocations: 7.938 kB / 0.6898 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.1837, allocations: 7.938 kB / 0.6898 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.1838, allocations: 44.16 kB / 0.6898 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1838, allocations: 0 / 0.6898 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1838, allocations: 0 / 0.6898 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.1838, allocations: 0 / 0.6898 GB, free: 8.984 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.0004566/0.1842, allocations: 343.3 kB / 0.6902 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1843, allocations: 12.03 kB / 0.6902 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.1843, allocations: 34.69 kB / 0.6902 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.1843, allocations: 0.9375 kB / 0.6902 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1845, allocations: 172.3 kB / 0.6904 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1845, allocations: 384 / 0.6904 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.1845, allocations: 384 / 0.6904 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1847, allocations: 53.8 kB / 0.6904 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1847, allocations: 0 / 0.6904 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1847, allocations: 0 / 0.6904 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1847, allocations: 4 kB / 0.6904 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.1848, allocations: 31.95 kB / 0.6905 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.1852, allocations: 260.8 kB / 0.6907 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1853, allocations: 34.56 kB / 0.6907 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.252e-05/0.1854, allocations: 20.91 kB / 0.6908 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.1855, allocations: 85.09 kB / 0.6909 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1855, allocations: 38.56 kB / 0.6909 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1855, allocations: 0 / 0.6909 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.1859, allocations: 81.58 kB / 0.691 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1859, allocations: 51.41 kB / 0.691 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.186, allocations: 101.9 kB / 0.6911 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.186, allocations: 25.7 kB / 0.6911 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.1861, allocations: 92.25 kB / 0.6912 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.1861, allocations: 7.891 kB / 0.6912 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.1861, allocations: 13.72 kB / 0.6912 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1863, allocations: 318.8 kB / 0.6915 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.1863, allocations: 11.98 kB / 0.6916 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.1864, allocations: 23.97 kB / 0.6916 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.1865, allocations: 40.89 kB / 0.6916 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1866, allocations: 0 / 0.6916 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001924/0.1867, allocations: 69.55 kB / 0.6917 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1868, allocations: 8 kB / 0.6917 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1868, allocations: 0 / 0.6917 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1868, allocations: 3.938 kB / 0.6917 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.988e-05/0.1869, allocations: 19.95 kB / 0.6917 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1869, allocations: 0 / 0.6917 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.1869, allocations: 4.25 kB / 0.6917 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1869, allocations: 0 / 0.6917 GB, free: 6.809 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.848e-05/0.187, allocations: 117.8 kB / 0.6918 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.187, allocations: 8 kB / 0.6918 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.1873, allocations: 76.72 kB / 0.6919 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1873, allocations: 0 / 0.6919 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1873, allocations: 0 / 0.6919 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1873, allocations: 7.984 kB / 0.6919 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.1874, allocations: 157.6 kB / 0.6921 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1874, allocations: 3.984 kB / 0.6921 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.1875, allocations: 4 kB / 0.6921 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1875, allocations: 0 / 0.6921 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1875, allocations: 4 kB / 0.6921 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1875, allocations: 0 / 0.6921 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1875, allocations: 0 / 0.6921 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.1877, allocations: 167.5 kB / 0.6922 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.1878, allocations: 85.05 kB / 0.6923 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.1878, allocations: 0 / 0.6923 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.1879, allocations: 4 kB / 0.6923 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.1879, allocations: 11.92 kB / 0.6923 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.1879, allocations: 4.031 kB / 0.6923 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.188, allocations: 83.28 kB / 0.6924 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.188, allocations: 0 / 0.6924 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002171/0.1882, allocations: 4 kB / 0.6924 GB, free: 5.98 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.0005915/0.1888, allocations: 0.7007 MB / 0.6931 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.189, allocations: 39.89 kB / 0.6932 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.189, allocations: 0 / 0.6932 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.1891, allocations: 19.98 kB / 0.6932 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.1894, allocations: 7.984 kB / 0.6932 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.1898, allocations: 143.2 kB / 0.6933 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1901, allocations: 0.6768 MB / 0.694 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.1902, allocations: 7.938 kB / 0.694 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.1902, allocations: 15.38 kB / 0.694 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1902, allocations: 0 / 0.694 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.2147, allocations: 1.423 MB / 0.6954 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.082, allocations: 2.812 kB / 0.6954 GB, free: 2.957 MB / 0.5137 GB " [Timeout remaining time 652] (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: 11.639222386293113] Failed to read output from testmodel.py, exit status != 0: 8.147634938824922 8.161842748 7.975181462 Calling exit ...