Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001125/0.001125, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.00103/0.00103, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9152/0.9152, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7248/0.7248, allocations: 154.6 MB / 413.8 MB, free: 0.8203 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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 4 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.294e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001177/0.0012, allocations: 0.6029 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005344/0.001734, allocations: 306.8 kB / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.001756, allocations: 0 / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.001771, allocations: 3.938 kB / 0.6191 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.802e-05/0.001789, allocations: 4 kB / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.002156, allocations: 111.6 kB / 0.6192 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.086e-05/0.002207, allocations: 15.97 kB / 0.6192 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.002249, allocations: 0 / 0.6192 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.002278, allocations: 4 kB / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.002327, allocations: 7.984 kB / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.002341, allocations: 4 kB / 0.6192 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.002579, allocations: 255.6 kB / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.002594, allocations: 7.984 kB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.641e-05/0.00261, allocations: 0 / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.002773, allocations: 127.6 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002775, allocations: 0 / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.202e-06/0.002776, allocations: 0 / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.00278, allocations: 0 / 0.6196 GB, free: 12.13 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002983/0.003078, allocations: 270.2 kB / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.003116, allocations: 8.031 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.003144, allocations: 34.75 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.003191, allocations: 8.875 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.522e-05/0.003266, allocations: 105.8 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.003277, allocations: 4.359 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.003298, allocations: 8.328 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.354e-05/0.003392, allocations: 59.97 kB / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.003399, allocations: 192 / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.003407, allocations: 384 / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.003412, allocations: 4.125 kB / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.577e-05/0.003438, allocations: 0 / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.003561, allocations: 132.8 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.984e-05/0.003611, allocations: 22.52 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.003627, allocations: 8.859 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/0.003976, allocations: 79.97 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.003995, allocations: 30.56 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.003996, allocations: 0 / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003769/0.004372, allocations: 185.2 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.004397, allocations: 51.41 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.218e-05/0.004439, allocations: 97.8 kB / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.00445, allocations: 29.7 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.979e-05/0.00447, allocations: 80.48 kB / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.004488, allocations: 15.89 kB / 0.6207 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.004513, allocations: 21.66 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.418e-05/0.004577, allocations: 314.8 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.004591, allocations: 4 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.004612, allocations: 21.7 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.239e-05/0.004644, allocations: 25.66 kB / 0.6211 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.004645, allocations: 0 / 0.6211 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.999e-05/0.004705, allocations: 53.62 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.004716, allocations: 12.06 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.004721, allocations: 0 / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.004731, allocations: 3.938 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.319e-05/0.004774, allocations: 8 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.004779, allocations: 0 / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.709e-06/0.004788, allocations: 0 / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.004794, allocations: 0 / 0.6212 GB, free: 10.22 MB / 0.5886 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 4.953e-05/0.004843, allocations: 118.8 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.004853, allocations: 0 / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.095e-05/0.004944, allocations: 57.31 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.004946, allocations: 7.938 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.004949, allocations: 0 / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.004952, allocations: 0 / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.37e-05/0.005016, allocations: 124.8 kB / 0.6215 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-07/0.005016, allocations: 0 / 0.6215 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.005048, allocations: 4 kB / 0.6215 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.005049, allocations: 0 / 0.6215 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.005057, allocations: 8 kB / 0.6215 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.005059, allocations: 3.938 kB / 0.6215 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.00506, allocations: 0 / 0.6215 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.845e-05/0.005158, allocations: 85.06 kB / 0.6216 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-06/0.005163, allocations: 4.031 kB / 0.6216 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.005173, allocations: 0 / 0.6216 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.005192, allocations: 3.938 kB / 0.6216 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.005205, allocations: 3.938 kB / 0.6216 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.005208, allocations: 7.938 kB / 0.6216 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.2e-05/0.00523, allocations: 83.27 kB / 0.6217 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00523, allocations: 0 / 0.6217 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001439/0.005374, allocations: 23.94 kB / 0.6217 GB, free: 9.617 MB / 0.5886 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.000399/0.005773, allocations: 0.6399 MB / 0.6223 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.379e-05/0.005846, allocations: 19.92 kB / 0.6223 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.005849, allocations: 4 kB / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.005858, allocations: 4 kB / 0.6224 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.005967, allocations: 6.203 kB / 0.6224 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.006585, allocations: 1.135 MB / 0.6235 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.062e-05/0.006615, allocations: 59.34 kB / 0.6235 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.147e-05/0.006637, allocations: 8.25 kB / 0.6235 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.006663, allocations: 12.5 kB / 0.6235 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/0.006664, allocations: 0 / 0.6235 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.02123, allocations: 2.37 MB / 0.6259 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/6.98, allocations: 16.23 kB / 0.6259 GB, free: 5.363 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.764237097464502] Failed to read output from testmodel.py, exit status != 0: 7.060479539446533 7.0712473750000004 7.066729542 Calling exit ...