Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.000876/0.000876, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008476/0.0008476, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9254/0.9254, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7136/0.7136, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.39e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001681/0.001695, allocations: 1.464 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005353/0.00223, allocations: 362.8 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.301e-05/0.002263, allocations: 0 / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.002287, allocations: 0 / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.002325, allocations: 7.875 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.00267, allocations: 107.6 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.834e-05/0.002728, allocations: 27.92 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.002815, allocations: 15.97 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.002861, allocations: 11.94 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.954e-05/0.00289, allocations: 7.984 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.002904, allocations: 4 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.00314, allocations: 259.6 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.003153, allocations: 3.984 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.00317, allocations: 11.94 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.003329, allocations: 135.6 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003331, allocations: 0 / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003332, allocations: 0 / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003336, allocations: 0 / 0.6204 GB, free: 11.24 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000311/0.003647, allocations: 286.1 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.00368, allocations: 12.03 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/0.003705, allocations: 34.75 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.003741, allocations: 4.922 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.645e-05/0.003808, allocations: 117.6 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.003815, allocations: 384 / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.003822, allocations: 384 / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.003935, allocations: 50.23 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.003942, allocations: 4.125 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-06/0.003949, allocations: 8.375 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.003954, allocations: 4.125 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.929e-05/0.004033, allocations: 27.97 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.004284, allocations: 216.1 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.346e-05/0.004357, allocations: 42.48 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.004401, allocations: 24.91 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.004695, allocations: 83.91 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.004714, allocations: 38.5 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.004715, allocations: 0 / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002186/0.004933, allocations: 89.58 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.004957, allocations: 51.41 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.948e-05/0.005006, allocations: 105.8 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.005015, allocations: 25.7 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.005051, allocations: 80.14 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.005067, allocations: 15.89 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.00509, allocations: 13.7 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.00516, allocations: 314.8 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/0.005202, allocations: 20.11 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.005236, allocations: 15.98 kB / 0.6221 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/0.005309, allocations: 40.81 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005311, allocations: 0 / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001049/0.005416, allocations: 81.47 kB / 0.6222 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.005427, allocations: 12.09 kB / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005431, allocations: 0 / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-06/0.00544, allocations: 0 / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-05/0.005488, allocations: 8 kB / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.005492, allocations: 0 / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.005512, allocations: 8.234 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.005516, allocations: 0 / 0.6222 GB, free: 9.246 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 (2): * Single equations (assignments): 2 * 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.43e-05/0.005561, allocations: 110.8 kB / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.005579, allocations: 7.938 kB / 0.6223 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.005699, allocations: 89.22 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.0057, allocations: 0 / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.005704, allocations: 3.938 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.005706, allocations: 0 / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.19e-05/0.005798, allocations: 124.8 kB / 0.6225 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.0058, allocations: 7.938 kB / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.005819, allocations: 4 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.005821, allocations: 3.938 kB / 0.6225 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.005827, allocations: 3.984 kB / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005828, allocations: 4.031 kB / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005829, allocations: 4 kB / 0.6226 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.005946, allocations: 159.5 kB / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-06/0.005951, allocations: 3.938 kB / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.005961, allocations: 8 kB / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.005995, allocations: 4 kB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.006022, allocations: 3.984 kB / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.006024, allocations: 0 / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.467e-05/0.006048, allocations: 87.31 kB / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006048, allocations: 0 / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001433/0.006192, allocations: 15.94 kB / 0.6228 GB, free: 8.539 MB / 0.5886 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 (2): * Single equations (assignments): 2 * 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.0003221/0.006514, allocations: 0.7085 MB / 0.6235 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.006626, allocations: 35.95 kB / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006627, allocations: 8.094 kB / 0.6236 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.006666, allocations: 19.92 kB / 0.6236 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.006836, allocations: 7.938 kB / 0.6236 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.007253, allocations: 142.1 kB / 0.6237 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.00729, allocations: 63.34 kB / 0.6238 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.448e-05/0.007305, allocations: 0 / 0.6238 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.00733, allocations: 12.5 kB / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of SimCode: time 4.5e-07/0.007331, allocations: 4.062 kB / 0.6238 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.02139, allocations: 2.271 MB / 0.626 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/6.85, allocations: 5.844 kB / 0.626 GB, free: 5.328 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.671864464879036] Failed to read output from testmodel.py, exit status != 0: 6.928665260784328 6.938863738 6.93327934 Calling exit ...