Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.001408/0.001408, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.001454/0.001454, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9022/0.9022, allocations: 133.9 MB / 443.5 MB, free: 13.95 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.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",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.001948/0.001948, allocations: 70.02 kB / 0.6141 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1829, allocations: 85.85 MB / 0.698 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.002025/0.1849, allocations: 0.576 MB / 0.6986 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000335/0.1853, allocations: 56.28 kB / 0.6986 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.1853, allocations: 0 / 0.6986 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.1853, allocations: 0 / 0.6986 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.696e-06/0.1853, allocations: 0 / 0.6986 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1856, allocations: 13.39 kB / 0.6986 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.912e-05/0.1857, allocations: 5.5 kB / 0.6986 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/0.1857, allocations: 5.469 kB / 0.6986 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.358e-05/0.1857, allocations: 0 / 0.6986 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.896e-05/0.1858, allocations: 5.484 kB / 0.6986 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.1858, allocations: 0 / 0.6986 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1859, allocations: 26.53 kB / 0.6987 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.1859, allocations: 0 / 0.6987 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.1859, allocations: 1.656 kB / 0.6987 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.771e-05/0.186, allocations: 17.61 kB / 0.6987 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.186, allocations: 0 / 0.6987 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/0.186, allocations: 0 / 0.6987 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.186, allocations: 0 / 0.6987 GB, free: 13.23 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003411/0.1864, allocations: 315.4 kB / 0.699 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1864, allocations: 11.86 kB / 0.699 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.428e-05/0.1864, allocations: 4.188 kB / 0.699 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.732e-05/0.1865, allocations: 32 kB / 0.699 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.1867, allocations: 17.84 kB / 0.699 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1868, allocations: 163.4 kB / 0.6992 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1869, allocations: 1.531 kB / 0.6992 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1869, allocations: 4.375 kB / 0.6992 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.187, allocations: 42.81 kB / 0.6992 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.187, allocations: 0 / 0.6992 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.187, allocations: 4 kB / 0.6992 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.187, allocations: 0 / 0.6992 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.1871, allocations: 9.422 kB / 0.6993 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.1873, allocations: 151.2 kB / 0.6994 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.198e-05/0.1874, allocations: 22.55 kB / 0.6994 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.1874, allocations: 12.75 kB / 0.6994 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.1874, allocations: 4 kB / 0.6994 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.1875, allocations: 35.97 kB / 0.6995 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1875, allocations: 3.938 kB / 0.6995 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0002365/0.1877, allocations: 44.7 kB / 0.6995 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.1877, allocations: 51.41 kB / 0.6996 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.335e-05/0.1878, allocations: 91.17 kB / 0.6997 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1878, allocations: 29.83 kB / 0.6997 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.1878, allocations: 80.14 kB / 0.6998 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1879, allocations: 5.125 kB / 0.6998 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.1879, allocations: 11.38 kB / 0.6998 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.188, allocations: 312.3 kB / 0.7001 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.837e-05/0.1881, allocations: 5.578 kB / 0.7001 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.1881, allocations: 8.344 kB / 0.7001 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.883e-05/0.1882, allocations: 23.06 kB / 0.7001 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1882, allocations: 3.938 kB / 0.7001 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001319/0.1884, allocations: 44.09 kB / 0.7002 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1884, allocations: 13.2 kB / 0.7002 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1884, allocations: 0 / 0.7002 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1884, allocations: 0 / 0.7002 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.201e-05/0.1885, allocations: 3.781 kB / 0.7002 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1885, allocations: 4.031 kB / 0.7002 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.1885, allocations: 1.656 kB / 0.7002 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1885, allocations: 4 kB / 0.7002 GB, free: 11.56 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 (1): * Single equations (assignments): 1 * 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.12e-05/0.1886, allocations: 112.3 kB / 0.7003 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.1886, allocations: 3.938 kB / 0.7003 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.1886, allocations: 3.125 kB / 0.7003 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1886, allocations: 2 kB / 0.7003 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1886, allocations: 0 / 0.7003 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1887, allocations: 4 kB / 0.7003 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.1888, allocations: 147.5 kB / 0.7004 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1888, allocations: 0 / 0.7004 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.1888, allocations: 7.5 kB / 0.7004 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1888, allocations: 3.938 kB / 0.7005 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1888, allocations: 0 / 0.7005 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1888, allocations: 0 / 0.7005 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1888, allocations: 1.781 kB / 0.7005 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.189, allocations: 70.02 kB / 0.7005 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.189, allocations: 78.48 kB / 0.7006 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1891, allocations: 3.938 kB / 0.7006 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.112e-05/0.1891, allocations: 1.375 kB / 0.7006 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.1891, allocations: 1.375 kB / 0.7006 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.1891, allocations: 0 / 0.7006 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.1891, allocations: 75.28 kB / 0.7007 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1891, allocations: 1.375 kB / 0.7007 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001743/0.1893, allocations: 5.406 kB / 0.7007 GB, free: 10.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 (1): * Single equations (assignments): 1 * 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.0004933/0.1898, allocations: 0.6106 MB / 0.7013 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.19, allocations: 14.89 kB / 0.7013 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.19, allocations: 1.375 kB / 0.7013 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.695e-05/0.19, allocations: 12.05 kB / 0.7013 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.1901, allocations: 5.312 kB / 0.7013 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.1905, allocations: 120.4 kB / 0.7014 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1908, allocations: 0.678 MB / 0.7021 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.1909, allocations: 5.5 kB / 0.7021 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.1909, allocations: 15.36 kB / 0.7021 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1909, allocations: 1.375 kB / 0.7021 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.2072, allocations: 0.9777 MB / 0.7031 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.291, allocations: 22.47 kB / 0.7031 GB, free: 8.891 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.286416254006326] Failed to read output from testmodel.py, exit status != 0: 8.770097422006074 8.441406121 8.250743611 Calling exit ...