Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.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.001752/0.001752, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002109/0.002109, allocations: 163.8 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.58/1.58, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.204/1.204, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.844e-05/4.142e-05, allocations: 4.672 kB / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002627/0.002668, allocations: 0.6472 MB / 0.6192 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.004355, allocations: 0.847 MB / 0.62 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.004401, allocations: 4 kB / 0.6201 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.00443, allocations: 3.938 kB / 0.6201 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.125e-05/0.004501, allocations: 0 / 0.6201 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.004709, allocations: 15.97 kB / 0.6201 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.698e-05/0.004796, allocations: 19.94 kB / 0.6201 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.004907, allocations: 11.98 kB / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.004989, allocations: 15.88 kB / 0.6201 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.005042, allocations: 11.98 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.005061, allocations: 0 / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.017e-05/0.005111, allocations: 4 kB / 0.6201 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.005128, allocations: 7.984 kB / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.005156, allocations: 11.98 kB / 0.6201 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.005297, allocations: 31.84 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005299, allocations: 0 / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.0053, allocations: 0 / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.005305, allocations: 0 / 0.6202 GB, free: 2.949 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.0005239/0.005829, allocations: 262.3 kB / 0.6204 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.005875, allocations: 9.469 kB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.005992, allocations: 12.89 kB / 0.6205 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.006127, allocations: 109.7 kB / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.00614, allocations: 4.375 kB / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.006156, allocations: 4.375 kB / 0.6206 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.00639, allocations: 50.23 kB / 0.6206 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.0064, allocations: 4.125 kB / 0.6206 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.006411, allocations: 4.312 kB / 0.6206 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.006417, allocations: 384 / 0.6206 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.00665, allocations: 35.91 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.007039, allocations: 192.6 kB / 0.6208 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.00721, allocations: 38.56 kB / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.007329, allocations: 16.91 kB / 0.6209 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.007354, allocations: 0 / 0.6209 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.007394, allocations: 38.5 kB / 0.6209 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.007395, allocations: 0 / 0.6209 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004829/0.007878, allocations: 81.67 kB / 0.621 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.007938, allocations: 59.44 kB / 0.6211 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.008052, allocations: 105.8 kB / 0.6212 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.008076, allocations: 25.7 kB / 0.6212 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/0.00814, allocations: 80.14 kB / 0.6213 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.008166, allocations: 7.953 kB / 0.6213 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.008216, allocations: 13.72 kB / 0.6213 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.008388, allocations: 314.8 kB / 0.6216 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.008505, allocations: 19.98 kB / 0.6216 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.008611, allocations: 23.86 kB / 0.6216 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.008828, allocations: 40.81 kB / 0.6217 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.00883, allocations: 0 / 0.6217 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000285/0.009115, allocations: 65.62 kB / 0.6217 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.009135, allocations: 4 kB / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.009143, allocations: 3.938 kB / 0.6217 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.009161, allocations: 4.094 kB / 0.6217 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.009287, allocations: 11.98 kB / 0.6218 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.009295, allocations: 3.984 kB / 0.6218 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.682e-05/0.009371, allocations: 11.98 kB / 0.6218 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.009377, allocations: 0 / 0.6218 GB, free: 1.148 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 0.0001171/0.009494, allocations: 106.8 kB / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.00953, allocations: 7.938 kB / 0.6219 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.009857, allocations: 76.86 kB / 0.6219 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.00986, allocations: 4.031 kB / 0.622 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.009865, allocations: 0 / 0.622 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.009869, allocations: 4 kB / 0.622 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.01006, allocations: 105.3 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01006, allocations: 0 / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.01014, allocations: 11.98 kB / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01015, allocations: 0 / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01016, allocations: 4 kB / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01016, allocations: 3.938 kB / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01016, allocations: 3.938 kB / 0.6221 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.01051, allocations: 167.5 kB / 0.6222 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.01052, allocations: 3.953 kB / 0.6222 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.01053, allocations: 0 / 0.6222 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.01066, allocations: 11.92 kB / 0.6223 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.01071, allocations: 4 kB / 0.6223 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.01072, allocations: 4 kB / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.878e-05/0.01079, allocations: 87.27 kB / 0.6223 GB, free: 500 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01079, allocations: 0 / 0.6223 GB, free: 500 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003888/0.01118, allocations: 8.031 kB / 0.6224 GB, free: 492 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.0001663/0.01134, allocations: 91.25 kB / 0.6224 GB, free: 388 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.01166, allocations: 31.97 kB / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01166, allocations: 0 / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.0118, allocations: 31.84 kB / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.01226, allocations: 10.47 kB / 0.6225 GB, free: 316 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.01273, allocations: 108.8 kB / 0.6226 GB, free: 180 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.722e-05/0.01281, allocations: 59.34 kB / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.01285, allocations: 0 / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.01289, allocations: 12.5 kB / 0.6227 GB, free: 88 kB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.01289, allocations: 0 / 0.6227 GB, free: 88 kB / 0.5294 GB Notification: Performance of Templates: time 0.004877/0.01777, allocations: 466.8 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.921434331685305] Failed to read output from testmodel.py, exit status != 0: 0.03002309426665306 0.056461531 0.045835481000000004 Calling exit ...