Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.0013/0.0013, allocations: 104.9 kB / 16.4 MB, free: 6.449 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.001316/0.001316, allocations: 191.7 kB / 19.36 MB, free: 3.727 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.433/1.433, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.8397/0.8397, allocations: 132.2 MB / 429.4 MB, free: 5.984 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.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.02 kB / 0.5894 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1747, allocations: 80.21 MB / 0.6677 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002618/0.1773, allocations: 1.435 MB / 0.6691 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007593/0.1781, allocations: 387.5 kB / 0.6695 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.1782, allocations: 0 / 0.6695 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.1782, allocations: 0 / 0.6695 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.1783, allocations: 3.938 kB / 0.6695 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.1787, allocations: 118.1 kB / 0.6696 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.1788, allocations: 23.97 kB / 0.6696 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.1789, allocations: 8.281 kB / 0.6696 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.1789, allocations: 15.92 kB / 0.6696 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.179, allocations: 11.94 kB / 0.6697 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.179, allocations: 3.938 kB / 0.6697 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004157/0.1794, allocations: 279.6 kB / 0.6699 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.1795, allocations: 0 / 0.6699 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.1795, allocations: 11.94 kB / 0.6699 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.1797, allocations: 111.6 kB / 0.67 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1797, allocations: 0 / 0.67 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1797, allocations: 0 / 0.67 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.1797, allocations: 0 / 0.67 GB, free: 7.438 MB / 0.4981 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.000512/0.1802, allocations: 371.1 kB / 0.6704 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1803, allocations: 12.03 kB / 0.6704 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.1803, allocations: 34.75 kB / 0.6704 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.1804, allocations: 4.891 kB / 0.6704 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1805, allocations: 164.4 kB / 0.6706 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1805, allocations: 384 / 0.6706 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1806, allocations: 384 / 0.6706 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1807, allocations: 50.23 kB / 0.6706 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1808, allocations: 7.938 kB / 0.6707 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1808, allocations: 3.938 kB / 0.6707 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1808, allocations: 0 / 0.6707 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.181, allocations: 35.95 kB / 0.6707 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.1813, allocations: 249 kB / 0.6709 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1815, allocations: 50.48 kB / 0.671 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.064e-05/0.1816, allocations: 24.84 kB / 0.671 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007173/0.1823, allocations: 457.5 kB / 0.6714 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1823, allocations: 38.48 kB / 0.6715 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.1823, allocations: 3.938 kB / 0.6715 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003782/0.1827, allocations: 81.61 kB / 0.6716 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1828, allocations: 55.39 kB / 0.6716 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.1829, allocations: 106 kB / 0.6717 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1829, allocations: 25.7 kB / 0.6717 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.1829, allocations: 92.12 kB / 0.6718 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.183, allocations: 3.953 kB / 0.6718 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.183, allocations: 13.72 kB / 0.6718 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1831, allocations: 314.8 kB / 0.6721 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.1832, allocations: 11.98 kB / 0.6722 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.1833, allocations: 27.97 kB / 0.6722 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.1835, allocations: 40.77 kB / 0.6722 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.1835, allocations: 3.938 kB / 0.6722 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002126/0.1837, allocations: 65.66 kB / 0.6723 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1837, allocations: 4 kB / 0.6723 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1837, allocations: 8.078 kB / 0.6723 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1838, allocations: 0 / 0.6723 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.1839, allocations: 11.98 kB / 0.6723 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1839, allocations: 0 / 0.6723 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.1839, allocations: 8.188 kB / 0.6723 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1839, allocations: 4 kB / 0.6723 GB, free: 4.773 MB / 0.4981 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 7.811e-05/0.184, allocations: 109.8 kB / 0.6724 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.1841, allocations: 11.98 kB / 0.6724 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.1843, allocations: 85.08 kB / 0.6725 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1843, allocations: 0 / 0.6725 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1843, allocations: 0 / 0.6725 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1843, allocations: 0 / 0.6725 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.1845, allocations: 161.6 kB / 0.6727 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1845, allocations: 0 / 0.6727 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.1846, allocations: 8 kB / 0.6727 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1846, allocations: 0 / 0.6727 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.1846, allocations: 3.938 kB / 0.6727 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1846, allocations: 8.016 kB / 0.6727 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1846, allocations: 0 / 0.6727 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.1849, allocations: 167.4 kB / 0.6728 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.185, allocations: 81.09 kB / 0.6729 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.185, allocations: 0 / 0.6729 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.1851, allocations: 8.031 kB / 0.6729 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1851, allocations: 3.984 kB / 0.6729 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1851, allocations: 4 kB / 0.6729 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.1852, allocations: 83.28 kB / 0.673 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1852, allocations: 0 / 0.673 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000232/0.1854, allocations: 15.94 kB / 0.673 GB, free: 3.93 MB / 0.4981 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.0006455/0.1861, allocations: 0.7239 MB / 0.6737 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.1863, allocations: 39.97 kB / 0.6738 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1863, allocations: 0 / 0.6738 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.907e-05/0.1864, allocations: 20.06 kB / 0.6738 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1867, allocations: 9.156 kB / 0.6738 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.1871, allocations: 135.1 kB / 0.6739 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.1874, allocations: 0.6807 MB / 0.6746 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.1874, allocations: 0 / 0.6746 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.1875, allocations: 15.38 kB / 0.6746 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1875, allocations: 0 / 0.6746 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.2113, allocations: 1.587 MB / 0.6762 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/7.924, allocations: 10.81 kB / 0.6762 GB, free: 0.7148 MB / 0.4981 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.564711511018686] Failed to read output from testmodel.py, exit status != 0: 7.989710030029528 8.006042007 7.823440151 Calling exit ...