Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001648/0.001649, allocations: 110.2 kB / 16.41 MB, free: 6.504 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.002018/0.002018, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.415/1.415, 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.832/0.832, allocations: 132.2 MB / 429.4 MB, free: 5.996 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.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 69.95 kB / 0.5894 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1794, allocations: 80.21 MB / 0.6677 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001806/0.1813, allocations: 0.5824 MB / 0.6683 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007062/0.182, allocations: 327.2 kB / 0.6686 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.1821, allocations: 0 / 0.6686 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.1821, allocations: 0 / 0.6686 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.1821, allocations: 0 / 0.6686 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.1826, allocations: 101.6 kB / 0.6687 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.07e-05/0.1826, allocations: 3.984 kB / 0.6687 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.1827, allocations: 4 kB / 0.6687 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.598e-05/0.1827, allocations: 0 / 0.6687 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.204e-05/0.1827, allocations: 4 kB / 0.6687 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.1827, allocations: 0 / 0.6687 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.1832, allocations: 279.6 kB / 0.669 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.1832, allocations: 0 / 0.669 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.1832, allocations: 0 / 0.669 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1834, allocations: 92 kB / 0.6691 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1834, allocations: 0 / 0.6691 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1834, allocations: 0 / 0.6691 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1834, allocations: 0 / 0.6691 GB, free: 8.41 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003798/0.1838, allocations: 339.3 kB / 0.6694 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1839, allocations: 16.03 kB / 0.6694 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.1839, allocations: 34.69 kB / 0.6695 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.1839, allocations: 0.9375 kB / 0.6695 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1841, allocations: 164.3 kB / 0.6696 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1841, allocations: 384 / 0.6696 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.1841, allocations: 384 / 0.6696 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.1842, allocations: 34.25 kB / 0.6696 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1842, allocations: 3.938 kB / 0.6697 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-06/0.1842, allocations: 0 / 0.6697 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1842, allocations: 0 / 0.6697 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.785e-05/0.1843, allocations: 4 kB / 0.6697 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.1844, allocations: 149.7 kB / 0.6698 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.045e-05/0.1845, allocations: 18.52 kB / 0.6698 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.1845, allocations: 4.953 kB / 0.6698 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005248/0.185, allocations: 429.5 kB / 0.6702 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.185, allocations: 34.56 kB / 0.6703 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1851, allocations: 0 / 0.6703 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001572/0.1852, allocations: 37.62 kB / 0.6703 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.1853, allocations: 51.41 kB / 0.6703 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.445e-05/0.1853, allocations: 93.8 kB / 0.6704 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1853, allocations: 25.7 kB / 0.6705 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.1854, allocations: 84.27 kB / 0.6705 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1854, allocations: 11.95 kB / 0.6706 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.1854, allocations: 9.719 kB / 0.6706 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1856, allocations: 310.8 kB / 0.6709 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.1856, allocations: 0 / 0.6709 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-06/0.1856, allocations: 7.984 kB / 0.6709 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.1857, allocations: 4.859 kB / 0.6709 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1857, allocations: 64 / 0.6709 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.548e-05/0.1857, allocations: 41.7 kB / 0.6709 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1858, allocations: 4 kB / 0.6709 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1858, allocations: 7.875 kB / 0.6709 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1858, allocations: 0 / 0.6709 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.076e-05/0.1858, allocations: 7.938 kB / 0.6709 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1858, allocations: 0 / 0.6709 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-06/0.1858, allocations: 0 / 0.6709 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1859, allocations: 0 / 0.6709 GB, free: 6.191 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 (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 9.193e-05/0.186, allocations: 121.8 kB / 0.671 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.186, allocations: 0 / 0.671 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.461e-05/0.1861, allocations: 44.77 kB / 0.6711 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1861, allocations: 0 / 0.6711 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1861, allocations: 0 / 0.6711 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.1861, allocations: 3.984 kB / 0.6711 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.1862, allocations: 153.6 kB / 0.6712 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1862, allocations: 0 / 0.6712 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.1862, allocations: 0 / 0.6712 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1862, allocations: 0 / 0.6712 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1863, allocations: 11.97 kB / 0.6713 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1863, allocations: 3.938 kB / 0.6713 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1863, allocations: 0 / 0.6713 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.413e-05/0.1864, allocations: 57.12 kB / 0.6713 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.1864, allocations: 77.11 kB / 0.6714 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.1864, allocations: 7.938 kB / 0.6714 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.1864, allocations: 0 / 0.6714 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.1865, allocations: 4.031 kB / 0.6714 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.1865, allocations: 0 / 0.6714 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.1865, allocations: 75.28 kB / 0.6715 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1865, allocations: 0 / 0.6715 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001875/0.1867, allocations: 11.94 kB / 0.6715 GB, free: 5.523 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 (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.0004704/0.1872, allocations: 0.6162 MB / 0.6721 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.763e-05/0.1873, allocations: 4 kB / 0.6721 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1873, allocations: 0 / 0.6721 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-06/0.1873, allocations: 4 kB / 0.6721 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.1874, allocations: 0 / 0.6721 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.1877, allocations: 114.5 kB / 0.6722 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.188, allocations: 0.6806 MB / 0.6729 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.188, allocations: 4.125 kB / 0.6729 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/0.1881, allocations: 7.438 kB / 0.6729 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1881, allocations: 0 / 0.6729 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.2089, allocations: 1.16 MB / 0.674 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.784, allocations: 16.36 kB / 0.674 GB, free: 2.934 MB / 0.4981 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower_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_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.361211951007135] Failed to read output from testmodel.py, exit status != 0: 7.850325786974281 7.870608414 7.684557782 Calling exit ...