Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.0006878/0.0006878, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007039/0.0007039, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8171/0.8171, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6663/0.6663, allocations: 154.5 MB / 414.5 MB, free: 0.8281 MB / 378.7 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 179] 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/3.103e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001353/0.001384, allocations: 0.6071 MB / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000717/0.002101, allocations: 0.8354 MB / 0.6207 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.00213, allocations: 0 / 0.6207 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.002155, allocations: 0 / 0.6207 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.586e-05/0.002201, allocations: 11.88 kB / 0.6207 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.002385, allocations: 7.984 kB / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.878e-05/0.002444, allocations: 19.92 kB / 0.6208 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.002484, allocations: 8 kB / 0.6208 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.002608, allocations: 15.98 kB / 0.6208 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.002652, allocations: 3.984 kB / 0.6208 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.002665, allocations: 7.938 kB / 0.6208 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.022e-05/0.002706, allocations: 11.94 kB / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/0.002714, allocations: 0 / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.002728, allocations: 0 / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.124e-05/0.00282, allocations: 27.89 kB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002821, allocations: 0 / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.002822, allocations: 0 / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.002826, allocations: 4 kB / 0.6208 GB, free: 11.66 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002942/0.00312, allocations: 250.4 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.003154, allocations: 9.469 kB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.835e-05/0.003253, allocations: 16.88 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.003398, allocations: 105.7 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.003414, allocations: 384 / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.003429, allocations: 4.375 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.00358, allocations: 38.25 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.003589, allocations: 4.125 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.003599, allocations: 4.375 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.003604, allocations: 384 / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.003644, allocations: 19.86 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.00377, allocations: 105.3 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.91e-05/0.003819, allocations: 22.61 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.003848, allocations: 20.84 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.003862, allocations: 0 / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.003881, allocations: 30.56 kB / 0.6214 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.003882, allocations: 0 / 0.6214 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001634/0.004045, allocations: 57.62 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.004079, allocations: 55.39 kB / 0.6215 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.004143, allocations: 105.8 kB / 0.6216 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.004153, allocations: 25.7 kB / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.004181, allocations: 80.14 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.004208, allocations: 3.953 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.004238, allocations: 21.7 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.004338, allocations: 310.8 kB / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.004388, allocations: 4 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.004409, allocations: 16.11 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.643e-05/0.004455, allocations: 20.84 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.004458, allocations: 0 / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.782e-05/0.004525, allocations: 49.62 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.004539, allocations: 6.188 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.004544, allocations: 256 / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.004557, allocations: 4 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.004619, allocations: 8.094 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.004625, allocations: 3.984 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.004642, allocations: 7.938 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.004648, allocations: 0 / 0.6222 GB, free: 10.1 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 (1): * Single equations (assignments): 1 * 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.455e-05/0.004702, allocations: 110.8 kB / 0.6223 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-06/0.004707, allocations: 0 / 0.6223 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.782e-05/0.004725, allocations: 3.156 kB / 0.6223 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.004728, allocations: 3.984 kB / 0.6223 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.004732, allocations: 0 / 0.6223 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.004735, allocations: 7.875 kB / 0.6223 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.765e-05/0.004793, allocations: 109.3 kB / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004793, allocations: 4 kB / 0.6224 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.004811, allocations: 4 kB / 0.6224 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.004811, allocations: 0 / 0.6224 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.004818, allocations: 3.984 kB / 0.6224 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004819, allocations: 0 / 0.6224 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.00482, allocations: 4 kB / 0.6224 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.589e-05/0.004896, allocations: 73 kB / 0.6225 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.004902, allocations: 0 / 0.6225 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.004911, allocations: 7.938 kB / 0.6225 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/0.004922, allocations: 8.016 kB / 0.6225 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.004947, allocations: 0 / 0.6225 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.00495, allocations: 4 kB / 0.6225 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.739e-05/0.004978, allocations: 83.28 kB / 0.6226 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.004978, allocations: 0 / 0.6226 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001186/0.005096, allocations: 3.938 kB / 0.6226 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: 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 (1): * Single equations (assignments): 1 * 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 9.697e-05/0.005193, allocations: 99.23 kB / 0.6227 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.955e-05/0.005283, allocations: 15.98 kB / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.005284, allocations: 4.062 kB / 0.6227 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.051e-05/0.005305, allocations: 11.94 kB / 0.6227 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.005415, allocations: 0 / 0.6227 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.005662, allocations: 126.7 kB / 0.6228 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.669e-05/0.005699, allocations: 59.34 kB / 0.6229 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.005723, allocations: 8.5 kB / 0.6229 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of SimCode: time 9.82e-07/0.005723, allocations: 0 / 0.6229 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of Templates: time 0.001357/0.007081, allocations: 481.4 kB / 0.6234 GB, free: 8.77 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.830792817287147] Failed to read output from testmodel.py, exit status != 0: 0.011945988051593304 0.019557968000000002 0.015197741 Calling exit ...