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.0007382/0.0007382, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.000766/0.000766, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8878/0.8878, allocations: 177.1 MB / 203.5 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.7097/0.7097, allocations: 154.6 MB / 414.5 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: translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.04e-05, allocations: 5.375 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001922/0.001952, allocations: 1.46 MB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.002794, allocations: 354.8 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.002829, allocations: 0 / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.002856, allocations: 4 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.316e-05/0.002899, allocations: 7.922 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.00328, allocations: 118.3 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.003348, allocations: 23.92 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.003443, allocations: 8 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.003498, allocations: 15.92 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.003538, allocations: 11.98 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.003553, allocations: 0 / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.003815, allocations: 259.6 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.003833, allocations: 7.938 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.003853, allocations: 3.984 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.004054, allocations: 135.7 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.004058, allocations: 0 / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.354e-06/0.00406, allocations: 4 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.004066, allocations: 7.938 kB / 0.6217 GB, free: 10.73 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.0003844/0.00445, allocations: 290 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.004495, allocations: 8.031 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.004549, allocations: 4.938 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.885e-05/0.004628, allocations: 105.8 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.004638, allocations: 8.297 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.004648, allocations: 4.375 kB / 0.6221 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.00478, allocations: 50.23 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004787, allocations: 192 / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.004796, allocations: 4.375 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.004801, allocations: 384 / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.004891, allocations: 39.89 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.005156, allocations: 196.6 kB / 0.6224 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.618e-05/0.005242, allocations: 38.5 kB / 0.6224 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.005288, allocations: 20.91 kB / 0.6224 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003234/0.005612, allocations: 83.91 kB / 0.6225 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.005633, allocations: 34.56 kB / 0.6225 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.005635, allocations: 0 / 0.6225 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000254/0.005889, allocations: 89.58 kB / 0.6226 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.005917, allocations: 55.34 kB / 0.6227 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.015e-05/0.005978, allocations: 101.9 kB / 0.6228 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.005989, allocations: 29.69 kB / 0.6228 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.006028, allocations: 88.14 kB / 0.6229 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.006045, allocations: 3.953 kB / 0.6229 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.006072, allocations: 13.72 kB / 0.6229 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.006152, allocations: 314.8 kB / 0.6232 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.006201, allocations: 20.09 kB / 0.6232 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.006238, allocations: 19.98 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/0.006315, allocations: 36.83 kB / 0.6233 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006317, allocations: 0 / 0.6233 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001198/0.006437, allocations: 69.61 kB / 0.6233 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.00645, allocations: 12.03 kB / 0.6233 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.006456, allocations: 7.875 kB / 0.6234 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.006468, allocations: 3.938 kB / 0.6234 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.006529, allocations: 11.98 kB / 0.6234 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.006533, allocations: 0 / 0.6234 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.006555, allocations: 8.188 kB / 0.6234 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.006562, allocations: 7.984 kB / 0.6234 GB, free: 8.809 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 5.823e-05/0.00662, allocations: 114.8 kB / 0.6235 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.006639, allocations: 0 / 0.6235 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.006784, allocations: 85.17 kB / 0.6236 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.006786, allocations: 0 / 0.6236 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.00679, allocations: 0 / 0.6236 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006793, allocations: 0 / 0.6236 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.42e-05/0.006887, allocations: 109.3 kB / 0.6237 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.006889, allocations: 0 / 0.6237 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.006915, allocations: 7.984 kB / 0.6237 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.006917, allocations: 0 / 0.6237 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.006923, allocations: 3.938 kB / 0.6237 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.006926, allocations: 11.97 kB / 0.6237 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.006928, allocations: 0 / 0.6237 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.007066, allocations: 159.5 kB / 0.6239 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.007074, allocations: 0 / 0.6239 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.007085, allocations: 4 kB / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.007124, allocations: 15.92 kB / 0.6239 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.007157, allocations: 0 / 0.6239 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.00716, allocations: 0 / 0.6239 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.647e-05/0.007187, allocations: 87.3 kB / 0.624 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007187, allocations: 0 / 0.624 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001635/0.00735, allocations: 20 kB / 0.624 GB, free: 8.141 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.000147/0.007497, allocations: 103.2 kB / 0.6241 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.007631, allocations: 43.89 kB / 0.6241 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007632, allocations: 0 / 0.6241 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.007673, allocations: 20.05 kB / 0.6241 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.007909, allocations: 9.656 kB / 0.6241 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.008173, allocations: 134.6 kB / 0.6243 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.008216, allocations: 67.27 kB / 0.6243 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.008239, allocations: 16.48 kB / 0.6244 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.00824, allocations: 0 / 0.6244 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of Templates: time 0.001719/0.009959, allocations: 0.7245 MB / 0.6251 GB, free: 6.973 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.045156574808061] Failed to read output from testmodel.py, exit status != 0: 0.015346893109381199 0.024334168000000003 0.018583476 Calling exit ...