Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.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.00149/0.00149, allocations: 85.03 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001698/0.001698, allocations: 167.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.211/1.211, allocations: 154.6 MB / 413.8 MB, free: 5.238 MB / 382.1 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 178] 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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.627e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.003026/0.003062, allocations: 1.465 MB / 0.62 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000288/0.00335, allocations: 95.64 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.003392, allocations: 0 / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.003422, allocations: 0.5312 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.378e-05/0.003466, allocations: 7.938 kB / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.003694, allocations: 23.95 kB / 0.6201 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.018e-05/0.003784, allocations: 23.94 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.003884, allocations: 7.984 kB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.55e-05/0.003939, allocations: 19.92 kB / 0.6202 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.48e-05/0.003974, allocations: 4 kB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.00399, allocations: 0 / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.407e-05/0.004054, allocations: 15.98 kB / 0.6202 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.004073, allocations: 4 kB / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.004098, allocations: 11.92 kB / 0.6202 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.004221, allocations: 39.94 kB / 0.6203 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004222, allocations: 0 / 0.6203 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004223, allocations: 0 / 0.6203 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.004233, allocations: 0 / 0.6203 GB, free: 2.848 MB / 0.5294 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.0004756/0.004708, allocations: 270.2 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.004748, allocations: 8.031 kB / 0.6205 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.004906, allocations: 12.92 kB / 0.6205 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.005048, allocations: 117.7 kB / 0.6206 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.00507, allocations: 4.312 kB / 0.6207 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.005086, allocations: 4.375 kB / 0.6207 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.005306, allocations: 58.22 kB / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.005317, allocations: 192 / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.005329, allocations: 384 / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.005335, allocations: 384 / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.005564, allocations: 51.89 kB / 0.6208 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.006002, allocations: 212.6 kB / 0.621 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.006197, allocations: 58.42 kB / 0.621 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.006316, allocations: 32.89 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.006336, allocations: 0 / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.006374, allocations: 34.56 kB / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.006375, allocations: 0 / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004604/0.006836, allocations: 105.6 kB / 0.6212 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.006884, allocations: 59.34 kB / 0.6212 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.006998, allocations: 101.8 kB / 0.6213 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.007021, allocations: 29.7 kB / 0.6214 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.007081, allocations: 84.14 kB / 0.6214 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.007101, allocations: 3.953 kB / 0.6215 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.00714, allocations: 13.72 kB / 0.6215 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.007321, allocations: 314.8 kB / 0.6218 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.007435, allocations: 28.09 kB / 0.6218 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.00755, allocations: 27.97 kB / 0.6218 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.007753, allocations: 44.81 kB / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.007755, allocations: 0 / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002648/0.008019, allocations: 85.66 kB / 0.6219 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.008035, allocations: 4 kB / 0.6219 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.008043, allocations: 3.938 kB / 0.6219 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.008058, allocations: 4 kB / 0.622 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.008167, allocations: 7.984 kB / 0.622 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.008175, allocations: 4 kB / 0.622 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.607e-05/0.008241, allocations: 11.94 kB / 0.622 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.008247, allocations: 0 / 0.622 GB, free: 0.9102 MB / 0.5294 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 9.603e-05/0.008343, allocations: 119.7 kB / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.008369, allocations: 3.984 kB / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.008401, allocations: 7.562 kB / 0.6221 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.008405, allocations: 3.984 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.008408, allocations: 0 / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.00841, allocations: 4.25 kB / 0.6221 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.008567, allocations: 109.3 kB / 0.6222 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.00857, allocations: 4 kB / 0.6222 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.00865, allocations: 11.98 kB / 0.6222 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.008652, allocations: 3.938 kB / 0.6222 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.008659, allocations: 4 kB / 0.6222 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.008662, allocations: 7.875 kB / 0.6222 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008663, allocations: 4 kB / 0.6222 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.008987, allocations: 179.4 kB / 0.6224 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.008995, allocations: 3.953 kB / 0.6224 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.00901, allocations: 0 / 0.6224 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.009104, allocations: 15.92 kB / 0.6224 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.009143, allocations: 0 / 0.6224 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.009147, allocations: 4.031 kB / 0.6224 GB, free: 384 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.398e-05/0.009201, allocations: 87.27 kB / 0.6225 GB, free: 296 kB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.009201, allocations: 0 / 0.6225 GB, free: 296 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002208/0.009422, allocations: 8 kB / 0.6225 GB, free: 288 kB / 0.5294 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.0001297/0.009552, allocations: 91.25 kB / 0.6226 GB, free: 188 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.009819, allocations: 47.95 kB / 0.6227 GB, free: 140 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009821, allocations: 4.062 kB / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.009938, allocations: 31.91 kB / 0.6227 GB, free: 104 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.01021, allocations: 6.125 kB / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.01062, allocations: 120.8 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.258e-05/0.01069, allocations: 63.34 kB / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.01072, allocations: 4.062 kB / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.01076, allocations: 12.5 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.01076, allocations: 0 / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of Templates: time 0.00337/0.01413, allocations: 0.6481 MB / 0.6235 GB, free: 15.22 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.760711766779423] Failed to read output from testmodel.py, exit status != 0: 0.02345499023795128 0.037615853000000005 0.030327414 Calling exit ...