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.001235/0.001235, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001391/0.001391, allocations: 216.6 kB / 22.25 MB, free: 5.078 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 8.027 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.83/0.83, allocations: 134 MB / 446.4 MB, free: 10.24 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",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.00203/0.00203, allocations: 65.42 kB / 0.6186 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1793, allocations: 85.91 MB / 0.7025 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001671/0.1809, allocations: 0.5798 MB / 0.703 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002504/0.1812, allocations: 56.17 kB / 0.7031 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.1812, allocations: 4 kB / 0.7031 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.1812, allocations: 0 / 0.7031 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.1812, allocations: 0 / 0.7031 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.1814, allocations: 11.94 kB / 0.7031 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.06e-05/0.1815, allocations: 3.984 kB / 0.7031 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.1815, allocations: 4 kB / 0.7031 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.156e-05/0.1815, allocations: 0 / 0.7031 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.933e-05/0.1815, allocations: 0 / 0.7031 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.1816, allocations: 0 / 0.7031 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1817, allocations: 23.98 kB / 0.7031 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.235e-06/0.1817, allocations: 4 kB / 0.7032 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.1817, allocations: 3.984 kB / 0.7032 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.712e-05/0.1818, allocations: 12.27 kB / 0.7032 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1818, allocations: 3.984 kB / 0.7032 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1818, allocations: 0 / 0.7032 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.1818, allocations: 0 / 0.7032 GB, free: 0.6914 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.0002771/0.1821, allocations: 250.3 kB / 0.7034 GB, free: 424 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1821, allocations: 8.031 kB / 0.7034 GB, free: 416 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.1821, allocations: 30.75 kB / 0.7034 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.1824, allocations: 24.91 kB / 0.7035 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.595e-05/0.1825, allocations: 110.5 kB / 0.7036 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1825, allocations: 384 / 0.7036 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.1825, allocations: 4.359 kB / 0.7036 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1826, allocations: 34.25 kB / 0.7036 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1826, allocations: 3.938 kB / 0.7036 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1826, allocations: 8 kB / 0.7036 GB, free: 160 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-06/0.1826, allocations: 0 / 0.7036 GB, free: 160 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.1827, allocations: 11.98 kB / 0.7036 GB, free: 148 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.1828, allocations: 112.8 kB / 0.7037 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.712e-05/0.1829, allocations: 26.53 kB / 0.7038 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.183, allocations: 8.922 kB / 0.7038 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.183, allocations: 0 / 0.7038 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.183, allocations: 42.56 kB / 0.7038 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.183, allocations: 0 / 0.7038 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002327/0.1832, allocations: 53.5 kB / 0.7039 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1833, allocations: 55.41 kB / 0.7039 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.17e-05/0.1833, allocations: 89.86 kB / 0.704 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1833, allocations: 25.7 kB / 0.704 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.1834, allocations: 80.27 kB / 0.7041 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.1834, allocations: 4 kB / 0.7041 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1834, allocations: 17.7 kB / 0.7041 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1836, allocations: 314.8 kB / 0.7044 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.1836, allocations: 0 / 0.7044 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.1836, allocations: 7.984 kB / 0.7044 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.93e-05/0.1837, allocations: 20.91 kB / 0.7045 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1837, allocations: 0 / 0.7045 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001181/0.1838, allocations: 41.62 kB / 0.7045 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1839, allocations: 8 kB / 0.7045 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1839, allocations: 3.938 kB / 0.7045 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1839, allocations: 0 / 0.7045 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.1839, allocations: 4 kB / 0.7045 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.184, allocations: 3.984 kB / 0.7045 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.184, allocations: 3.938 kB / 0.7045 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.184, allocations: 4.031 kB / 0.7045 GB, free: 15.11 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 (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 7.311e-05/0.1841, allocations: 109.8 kB / 0.7046 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.1841, allocations: 4 kB / 0.7046 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.1841, allocations: 6.938 kB / 0.7046 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.1841, allocations: 0 / 0.7046 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1841, allocations: 0 / 0.7046 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1841, allocations: 0 / 0.7046 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.792e-05/0.1842, allocations: 116.8 kB / 0.7047 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1842, allocations: 8 kB / 0.7048 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.1842, allocations: 7.938 kB / 0.7048 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1842, allocations: 0 / 0.7048 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1842, allocations: 11.92 kB / 0.7048 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1842, allocations: 0 / 0.7048 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1843, allocations: 0 / 0.7048 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.1844, allocations: 65.06 kB / 0.7048 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.1844, allocations: 11.97 kB / 0.7048 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1844, allocations: 3.938 kB / 0.7049 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.399e-05/0.1844, allocations: 3.984 kB / 0.7049 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-06/0.1845, allocations: 0 / 0.7049 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.1845, allocations: 0 / 0.7049 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.025e-05/0.1845, allocations: 79.28 kB / 0.7049 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1845, allocations: 0 / 0.7049 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001694/0.1847, allocations: 0 / 0.7049 GB, free: 14.62 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 (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.0004256/0.1851, allocations: 0.6038 MB / 0.7055 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.1852, allocations: 19.92 kB / 0.7055 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1852, allocations: 0 / 0.7055 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.306e-05/0.1853, allocations: 8.094 kB / 0.7055 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.1854, allocations: 0 / 0.7055 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.1857, allocations: 106.7 kB / 0.7057 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.186, allocations: 0.6766 MB / 0.7063 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.1861, allocations: 8.047 kB / 0.7063 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.1861, allocations: 7.438 kB / 0.7063 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1861, allocations: 0 / 0.7063 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.2122, allocations: 1.052 MB / 0.7074 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.68, allocations: 2.344 kB / 0.7074 GB, free: 12.18 MB / 0.5294 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 14.371649102999072] Failed to read output from testmodel.py, exit status != 0: 10.787122472996998 10.81303706 10.626620695 Calling exit ...