Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0009889/0.0009889, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0007817/0.0007817, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9894/0.9894, 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.7967/0.7967, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.001173/0.001173, allocations: 72.52 kB / 0.7182 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5909/0.592, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00157/0.5936, allocations: 0.5952 MB / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005914/0.5942, allocations: 307.5 kB / 0.8187 GB, free: 496 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.5942, allocations: 1.719 kB / 0.8187 GB, free: 496 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.5942, allocations: 3.938 kB / 0.8187 GB, free: 492 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.239e-05/0.5943, allocations: 0 / 0.8187 GB, free: 492 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.5948, allocations: 119.5 kB / 0.8188 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.778e-05/0.5948, allocations: 9.812 kB / 0.8188 GB, free: 440 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/0.5949, allocations: 5.5 kB / 0.8189 GB, free: 436 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.614e-05/0.5949, allocations: 6.812 kB / 0.8189 GB, free: 436 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.595, allocations: 5.812 kB / 0.8189 GB, free: 432 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.595, allocations: 0 / 0.8189 GB, free: 432 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003568/0.5954, allocations: 258.5 kB / 0.8191 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.5954, allocations: 0.5625 kB / 0.8191 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.5954, allocations: 8.547 kB / 0.8191 GB, free: 372 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.5957, allocations: 95.16 kB / 0.8192 GB, free: 348 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5957, allocations: 0 / 0.8192 GB, free: 348 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5957, allocations: 0 / 0.8192 GB, free: 348 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.5957, allocations: 4 kB / 0.8192 GB, free: 344 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003566/0.596, allocations: 271.8 kB / 0.8195 GB, free: 56 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.5961, allocations: 9.219 kB / 0.8195 GB, free: 56 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.5961, allocations: 35.3 kB / 0.8195 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.5962, allocations: 6.766 kB / 0.8195 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.5963, allocations: 105.5 kB / 0.8196 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.5963, allocations: 1.031 kB / 0.8196 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.5963, allocations: 8.188 kB / 0.8196 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.5965, allocations: 60.84 kB / 0.8197 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.5965, allocations: 3.938 kB / 0.8197 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.5965, allocations: 6.156 kB / 0.8197 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5965, allocations: 0 / 0.8197 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/0.5965, allocations: 1.484 kB / 0.8197 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.5967, allocations: 128.9 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.48e-05/0.5968, allocations: 22.64 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.5968, allocations: 7.969 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004658/0.5972, allocations: 84.64 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.5973, allocations: 31.98 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.675e-06/0.5973, allocations: 0 / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000624/0.5979, allocations: 184.2 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.5979, allocations: 51.41 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.598, allocations: 99.34 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.598, allocations: 26.22 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.598, allocations: 84.14 kB / 0.8204 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.5981, allocations: 10.72 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.5981, allocations: 21.14 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5982, allocations: 312 kB / 0.8207 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.5982, allocations: 7.453 kB / 0.8207 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.5983, allocations: 24.52 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.5983, allocations: 24.45 kB / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5983, allocations: 128 / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001025/0.5984, allocations: 57.06 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.5985, allocations: 12.09 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.5985, allocations: 0 / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5985, allocations: 0 / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.5986, allocations: 5.891 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.619e-06/0.5986, allocations: 2.266 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.5986, allocations: 0 / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.5986, allocations: 4.156 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.765e-05/0.5987, allocations: 110.7 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.5987, allocations: 9.562 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.5988, allocations: 63.89 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5988, allocations: 0.7031 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5988, allocations: 0 / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5988, allocations: 1.312 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.752e-05/0.5989, allocations: 122.8 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5989, allocations: 0 / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.599, allocations: 7.703 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.599, allocations: 3.938 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.599, allocations: 4 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.599, allocations: 2.203 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.599, allocations: 192 / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.5991, allocations: 83.86 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.5991, allocations: 10.73 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.5992, allocations: 0.7031 kB / 0.8213 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.504e-05/0.5992, allocations: 7.172 kB / 0.8213 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.5992, allocations: 0.6562 kB / 0.8213 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.5992, allocations: 6.906 kB / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.5992, allocations: 77.03 kB / 0.8213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5992, allocations: 4.156 kB / 0.8213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001791/0.5994, allocations: 24.97 kB / 0.8214 GB, free: 14.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0004509/0.5999, allocations: 0.6383 MB / 0.822 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.6, allocations: 21.22 kB / 0.822 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6, allocations: 0 / 0.822 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.6, allocations: 7.797 kB / 0.822 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.6001, allocations: 4.656 kB / 0.822 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009525/0.6011, allocations: 1.135 MB / 0.8231 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.438e-05/0.6011, allocations: 61.72 kB / 0.8232 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.843e-05/0.6012, allocations: 5.656 kB / 0.8232 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.6012, allocations: 12.19 kB / 0.8232 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of SimCode: time 8.32e-07/0.6012, allocations: 3.938 kB / 0.8232 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.6273, allocations: 2.237 MB / 0.8254 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.349/6.977, allocations: 3.234 kB / 0.8254 GB, free: 11.48 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_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_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.077435757033527] Failed to read output from testmodel.py, exit status != 0: 7.052040764130652 7.061427755 6.463561523 Calling exit ...