Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008233/0.0008233, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008189/0.0008189, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8929/0.8929, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7132/0.7132, allocations: 154.6 MB / 413.8 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.992e-05, allocations: 5.125 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00127/0.00129, allocations: 0.6272 MB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005781/0.001868, allocations: 318.8 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.001896, allocations: 0 / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.001913, allocations: 3.938 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.007e-05/0.001943, allocations: 0 / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.002353, allocations: 123.5 kB / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.00241, allocations: 23.92 kB / 0.6192 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.002448, allocations: 7.938 kB / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.002505, allocations: 15.97 kB / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.946e-05/0.002555, allocations: 11.92 kB / 0.6193 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.002569, allocations: 4 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.002807, allocations: 251.7 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.002824, allocations: 11.97 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.002841, allocations: 4 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.003004, allocations: 131.6 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003006, allocations: 0 / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003007, allocations: 0 / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003011, allocations: 4 kB / 0.6196 GB, free: 12.06 MB / 0.5886 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.0003403/0.003351, allocations: 286.1 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.003392, allocations: 12.03 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.003426, allocations: 38.73 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.003485, allocations: 8.891 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.94e-05/0.003564, allocations: 105.7 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.003575, allocations: 4.375 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.003593, allocations: 384 / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.003712, allocations: 109.6 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.003722, allocations: 192 / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.003731, allocations: 8.359 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.003738, allocations: 8.125 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.166e-05/0.003779, allocations: 15.98 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.00392, allocations: 144.6 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.921e-05/0.004009, allocations: 54.56 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.004044, allocations: 28.84 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003918/0.004436, allocations: 75.91 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.004466, allocations: 42.44 kB / 0.6205 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.004467, allocations: 0 / 0.6205 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.001166/0.005633, allocations: 447.9 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.005668, allocations: 55.41 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.267e-05/0.00573, allocations: 97.86 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.005746, allocations: 29.7 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.005777, allocations: 84.08 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.005818, allocations: 47.58 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.005862, allocations: 25.7 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.005961, allocations: 318.8 kB / 0.6216 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.006003, allocations: 19.98 kB / 0.6216 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/0.006042, allocations: 22.62 kB / 0.6216 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.518e-05/0.006137, allocations: 56.84 kB / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.006138, allocations: 0 / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001564/0.006295, allocations: 105.6 kB / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.006311, allocations: 7.938 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.006316, allocations: 0 / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.006334, allocations: 0 / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.006438, allocations: 23.98 kB / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.006444, allocations: 0 / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.006465, allocations: 4 kB / 0.6218 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.006474, allocations: 4 kB / 0.6218 GB, free: 9.559 MB / 0.5886 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 7.975e-05/0.006554, allocations: 118.8 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.006577, allocations: 0 / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.006765, allocations: 125.3 kB / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006767, allocations: 192 / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.006772, allocations: 0 / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.006778, allocations: 3.984 kB / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.007171, allocations: 325.5 kB / 0.6224 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.007173, allocations: 0 / 0.6224 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.007279, allocations: 23.98 kB / 0.6224 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007281, allocations: 0 / 0.6224 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.007291, allocations: 4 kB / 0.6224 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.007294, allocations: 0 / 0.6224 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.007295, allocations: 0 / 0.6224 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.007547, allocations: 230.5 kB / 0.6226 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.007577, allocations: 8.031 kB / 0.6226 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.007595, allocations: 11.98 kB / 0.6227 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.007667, allocations: 4 kB / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.007688, allocations: 7.984 kB / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.007696, allocations: 4 kB / 0.6227 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.007728, allocations: 75.28 kB / 0.6227 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.1e-08/0.007728, allocations: 0 / 0.6227 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003125/0.00804, allocations: 47.86 kB / 0.6228 GB, free: 8.516 MB / 0.5886 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.0006214/0.008662, allocations: 0.7983 MB / 0.6236 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.008806, allocations: 55.97 kB / 0.6236 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.008809, allocations: 0 / 0.6236 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.008852, allocations: 35.86 kB / 0.6237 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.00907, allocations: 8 kB / 0.6237 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009961/0.01007, allocations: 1.389 MB / 0.625 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.016e-05/0.01012, allocations: 68.28 kB / 0.6251 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.023e-05/0.01016, allocations: 16.02 kB / 0.6251 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.0102, allocations: 20.48 kB / 0.6251 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.0102, allocations: 0 / 0.6251 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.02576, allocations: 3.117 MB / 0.6282 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/6.749, allocations: 8 kB / 0.6282 GB, free: 3.047 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.555382821708918] Failed to read output from testmodel.py, exit status != 0: 6.830242580734193 6.839430857 6.834792167 Calling exit ...