Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0008502/0.0008502, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.000953/0.000953, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 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 0.9847/0.9847, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8312/0.8312, allocations: 203.8 MB / 0.5042 GB, free: 10.47 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.00118/0.00118, allocations: 63.53 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5776/0.5788, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001599/0.5803, allocations: 0.628 MB / 0.8185 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006604/0.581, allocations: 316.7 kB / 0.8188 GB, free: 476 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.581, allocations: 0 / 0.8188 GB, free: 476 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.5811, allocations: 7.875 kB / 0.8188 GB, free: 468 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.5811, allocations: 0.9688 kB / 0.8188 GB, free: 468 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.5817, allocations: 125.1 kB / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.406e-05/0.5818, allocations: 23.58 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.075e-05/0.5818, allocations: 7.203 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.027e-05/0.5819, allocations: 20.62 kB / 0.8189 GB, free: 400 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.617e-05/0.582, allocations: 5.859 kB / 0.8189 GB, free: 400 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.582, allocations: 0 / 0.8189 GB, free: 400 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.5824, allocations: 258.6 kB / 0.8192 GB, free: 348 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.5824, allocations: 6.172 kB / 0.8192 GB, free: 344 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.5824, allocations: 20.41 kB / 0.8192 GB, free: 328 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.5827, allocations: 100.2 kB / 0.8193 GB, free: 300 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5827, allocations: 0.7031 kB / 0.8193 GB, free: 300 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5827, allocations: 0 / 0.8193 GB, free: 300 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.5827, allocations: 7.938 kB / 0.8193 GB, free: 292 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004623/0.5831, allocations: 284.9 kB / 0.8196 GB, free: 0 / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.5832, allocations: 10.34 kB / 0.8196 GB, free: 0 / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.5833, allocations: 35.36 kB / 0.8196 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.5833, allocations: 9.641 kB / 0.8196 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.985e-05/0.5834, allocations: 113.9 kB / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5834, allocations: 0.9844 kB / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.5835, allocations: 4.844 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.5836, allocations: 105.1 kB / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5836, allocations: 3.938 kB / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.5836, allocations: 7.219 kB / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5837, allocations: 0 / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.918e-05/0.5837, allocations: 18.53 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.5838, allocations: 133.5 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.584, allocations: 57.78 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.584, allocations: 27.38 kB / 0.8201 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003671/0.5844, allocations: 79.28 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.5844, allocations: 34.56 kB / 0.8202 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.5844, allocations: 0 / 0.8202 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0009459/0.5853, allocations: 451.7 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.5854, allocations: 53.42 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.5854, allocations: 105.2 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.5854, allocations: 25.7 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.5855, allocations: 81.33 kB / 0.8209 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.5855, allocations: 43.84 kB / 0.8209 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.5856, allocations: 25.33 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5857, allocations: 318.2 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/0.5857, allocations: 22.34 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/0.5857, allocations: 24 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.758e-05/0.5858, allocations: 62.16 kB / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.5858, allocations: 0 / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001125/0.5859, allocations: 101.5 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5859, allocations: 3.219 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.5859, allocations: 7.922 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.586, allocations: 2.469 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.586, allocations: 28.03 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.586, allocations: 2.312 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.337e-05/0.5861, allocations: 0 / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.5861, allocations: 1.812 kB / 0.8215 GB, free: 14.34 MB / 0.6198 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 (13): * Single equations (assignments): 13 * 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 6.659e-05/0.5861, allocations: 113.7 kB / 0.8216 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.5861, allocations: 10.45 kB / 0.8216 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.5863, allocations: 110.5 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.5863, allocations: 2.375 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5863, allocations: 0 / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5863, allocations: 0.75 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.5867, allocations: 321.4 kB / 0.822 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5867, allocations: 0.6562 kB / 0.822 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.5867, allocations: 24.72 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5867, allocations: 0 / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.5867, allocations: 4.609 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.5868, allocations: 5.156 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5868, allocations: 0 / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.587, allocations: 228.9 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.587, allocations: 11.06 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.587, allocations: 8.609 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/0.587, allocations: 0.75 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.5871, allocations: 7.453 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.5871, allocations: 5.422 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.091e-05/0.5871, allocations: 80.17 kB / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5871, allocations: 0 / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002061/0.5873, allocations: 47.48 kB / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0005661/0.5879, allocations: 0.7901 MB / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.588, allocations: 57.84 kB / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.588, allocations: 0 / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.5881, allocations: 33.77 kB / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.5882, allocations: 13.19 kB / 0.8233 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.5898, allocations: 1.407 MB / 0.8247 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.829e-05/0.5898, allocations: 77.27 kB / 0.8248 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.816e-05/0.5899, allocations: 16.98 kB / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.5899, allocations: 15.97 kB / 0.8248 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5899, allocations: 1.031 kB / 0.8248 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.6091, allocations: 2.971 MB / 0.8277 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.519/7.128, allocations: 14.52 kB / 0.8277 GB, free: 10.59 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.317666889633983] Failed to read output from testmodel.py, exit status != 0: 7.205282176844776 7.217207867 6.63250375 Calling exit ...