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.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.00133/0.00133, allocations: 109.1 kB / 16.46 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.001423/0.001423, allocations: 192.5 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.475/1.475, 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.8471/0.8471, allocations: 134 MB / 436.6 MB, free: 1.266 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.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: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 73.03 kB / 0.6052 GB, free: 15.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1754, allocations: 84.66 MB / 0.6878 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.002159/0.1775, allocations: 0.5884 MB / 0.6884 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003238/0.1779, allocations: 55.72 kB / 0.6885 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.1779, allocations: 0 / 0.6885 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.1779, allocations: 0 / 0.6885 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.804e-06/0.1779, allocations: 0 / 0.6885 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.1782, allocations: 11.98 kB / 0.6885 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.938e-05/0.1782, allocations: 7.938 kB / 0.6885 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.1783, allocations: 3.984 kB / 0.6885 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.43e-05/0.1783, allocations: 4 kB / 0.6885 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.63e-05/0.1783, allocations: 4 kB / 0.6885 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1783, allocations: 3.938 kB / 0.6885 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1785, allocations: 15.98 kB / 0.6885 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.1785, allocations: 0 / 0.6885 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.1785, allocations: 11.98 kB / 0.6885 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.654e-05/0.1786, allocations: 7.984 kB / 0.6885 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1786, allocations: 0 / 0.6885 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1786, allocations: 0 / 0.6885 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1786, allocations: 0 / 0.6885 GB, free: 10.48 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.0003557/0.179, allocations: 319.8 kB / 0.6888 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.179, allocations: 12.03 kB / 0.6888 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.179, allocations: 34.73 kB / 0.6889 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.1793, allocations: 20.84 kB / 0.6889 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1794, allocations: 164.4 kB / 0.6891 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.1794, allocations: 384 / 0.6891 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1794, allocations: 384 / 0.6891 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1796, allocations: 38.25 kB / 0.6891 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1796, allocations: 3.938 kB / 0.6891 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1796, allocations: 0 / 0.6891 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1796, allocations: 7.938 kB / 0.6891 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.1797, allocations: 7.984 kB / 0.6891 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.1799, allocations: 149.7 kB / 0.6893 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.828e-05/0.1799, allocations: 18.61 kB / 0.6893 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.18, allocations: 21.3 kB / 0.6893 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.18, allocations: 0 / 0.6893 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.18, allocations: 30.56 kB / 0.6893 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.18, allocations: 0 / 0.6893 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0002514/0.1803, allocations: 53.56 kB / 0.6894 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.1803, allocations: 55.39 kB / 0.6894 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.769e-05/0.1804, allocations: 93.98 kB / 0.6895 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1804, allocations: 29.7 kB / 0.6895 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.1804, allocations: 80.14 kB / 0.6896 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.1805, allocations: 3.953 kB / 0.6896 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.1805, allocations: 9.719 kB / 0.6896 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1807, allocations: 314.8 kB / 0.6899 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.1807, allocations: 3.984 kB / 0.6899 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.1807, allocations: 8 kB / 0.6899 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.817e-05/0.1808, allocations: 24.78 kB / 0.69 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1808, allocations: 0 / 0.69 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001336/0.181, allocations: 37.69 kB / 0.69 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.181, allocations: 4 kB / 0.69 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.181, allocations: 11.94 kB / 0.69 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.181, allocations: 0 / 0.69 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.1811, allocations: 12.02 kB / 0.69 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1811, allocations: 0 / 0.69 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.1811, allocations: 4 kB / 0.69 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1811, allocations: 0 / 0.69 GB, free: 8.707 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.395e-05/0.1812, allocations: 105.8 kB / 0.6901 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.1812, allocations: 11.92 kB / 0.6902 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.1813, allocations: 11.06 kB / 0.6902 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1813, allocations: 0 / 0.6902 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1813, allocations: 4 kB / 0.6902 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1813, allocations: 0 / 0.6902 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.1814, allocations: 141.7 kB / 0.6903 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1814, allocations: 0 / 0.6903 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.1815, allocations: 7.984 kB / 0.6903 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1815, allocations: 0 / 0.6903 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1815, allocations: 3.938 kB / 0.6903 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1815, allocations: 3.938 kB / 0.6903 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1815, allocations: 4 kB / 0.6903 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1816, allocations: 73.11 kB / 0.6904 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.1817, allocations: 77.11 kB / 0.6905 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1817, allocations: 3.938 kB / 0.6905 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.1817, allocations: 4 kB / 0.6905 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.1817, allocations: 0 / 0.6905 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.1818, allocations: 0 / 0.6905 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.738e-05/0.1818, allocations: 75.28 kB / 0.6905 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1818, allocations: 4.031 kB / 0.6905 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001819/0.182, allocations: 4 kB / 0.6905 GB, free: 8.082 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.0005115/0.1825, allocations: 0.6006 MB / 0.6911 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.1826, allocations: 16.02 kB / 0.6912 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1826, allocations: 0 / 0.6912 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.369e-05/0.1827, allocations: 7.984 kB / 0.6912 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.1828, allocations: 7.938 kB / 0.6912 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.1832, allocations: 118.6 kB / 0.6913 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1836, allocations: 0.6728 MB / 0.6919 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.1836, allocations: 4.125 kB / 0.6919 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.1836, allocations: 11.44 kB / 0.692 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1836, allocations: 0 / 0.692 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.2087, allocations: 0.9429 MB / 0.6929 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.158, allocations: 4 kB / 0.6929 GB, free: 5.695 MB / 0.5137 GB " [Timeout remaining time 652] (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: 11.771100310608745] Failed to read output from testmodel.py, exit status != 0: 8.224232315085828 8.248663491 8.065675232 Calling exit ...