Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.0008473/0.0008473, 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.0009394/0.0009394, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8523/0.8523, 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.6796/0.6796, allocations: 154.6 MB / 414.5 MB, free: 0.8203 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.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.752e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001126/0.001153, allocations: 0.5719 MB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.939e-05/0.001192, allocations: 3.938 kB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.001211, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.001238, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.444e-05/0.001263, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.793e-05/0.001291, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.001345, allocations: 8 kB / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.00139, allocations: 0 / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.001422, allocations: 0 / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.657e-05/0.001439, allocations: 0 / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.001457, allocations: 8 kB / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-06/0.001461, allocations: 0 / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.001472, allocations: 0 / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.001489, allocations: 0 / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.778e-05/0.001547, allocations: 7.969 kB / 0.6199 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.001548, allocations: 0 / 0.6199 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.02e-07/0.001549, allocations: 0 / 0.6199 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.001553, allocations: 0 / 0.6199 GB, free: 12.56 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.0002157/0.001769, allocations: 238.4 kB / 0.6201 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.001803, allocations: 13.47 kB / 0.6202 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.00183, allocations: 0.9375 kB / 0.6202 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.38e-05/0.001884, allocations: 109.7 kB / 0.6203 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.001895, allocations: 4.359 kB / 0.6203 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.001904, allocations: 4.312 kB / 0.6203 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.401e-05/0.001978, allocations: 30.27 kB / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.001985, allocations: 4.125 kB / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.001993, allocations: 384 / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.001997, allocations: 384 / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.503e-05/0.002013, allocations: 3.938 kB / 0.6203 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.618e-05/0.002099, allocations: 97.33 kB / 0.6204 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.46e-05/0.002133, allocations: 22.56 kB / 0.6204 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.002152, allocations: 16.89 kB / 0.6204 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.00216, allocations: 0 / 0.6204 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.002178, allocations: 30.56 kB / 0.6205 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.002179, allocations: 0 / 0.6205 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001037/0.002282, allocations: 37.69 kB / 0.6205 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.00231, allocations: 51.41 kB / 0.6205 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.414e-05/0.002334, allocations: 93.86 kB / 0.6206 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.002341, allocations: 25.7 kB / 0.6207 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.67e-05/0.002358, allocations: 80.14 kB / 0.6207 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.002384, allocations: 128 / 0.6207 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/0.002404, allocations: 17.72 kB / 0.6208 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.002476, allocations: 314.8 kB / 0.6211 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.002484, allocations: 0 / 0.6211 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-06/0.00249, allocations: 7.938 kB / 0.6211 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.002511, allocations: 8.859 kB / 0.6211 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.002513, allocations: 0 / 0.6211 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.563e-05/0.002549, allocations: 37.69 kB / 0.6211 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.002561, allocations: 4 kB / 0.6211 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.002565, allocations: 0 / 0.6211 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.002576, allocations: 4.094 kB / 0.6211 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.00263, allocations: 4 kB / 0.6211 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.002634, allocations: 0 / 0.6211 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.155e-06/0.002642, allocations: 3.938 kB / 0.6211 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.002647, allocations: 4 kB / 0.6211 GB, free: 11.14 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 0.0002943/0.002941, allocations: 110.8 kB / 0.6212 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-06/0.002946, allocations: 4 kB / 0.6212 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.483e-05/0.002961, allocations: 10.92 kB / 0.6212 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.002963, allocations: 0 / 0.6212 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.002966, allocations: 0 / 0.6212 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.002968, allocations: 4 kB / 0.6212 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.179e-05/0.00301, allocations: 101.3 kB / 0.6213 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.003011, allocations: 0 / 0.6213 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-06/0.003017, allocations: 4 kB / 0.6213 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.003019, allocations: 0 / 0.6213 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.003024, allocations: 0 / 0.6213 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.003024, allocations: 0 / 0.6213 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.003025, allocations: 3.938 kB / 0.6214 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.495e-05/0.00307, allocations: 61.06 kB / 0.6214 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-06/0.003074, allocations: 0 / 0.6214 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-06/0.003082, allocations: 0 / 0.6214 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-06/0.003086, allocations: 8.031 kB / 0.6214 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.003097, allocations: 0 / 0.6214 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.003098, allocations: 0 / 0.6214 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.784e-05/0.003116, allocations: 83.22 kB / 0.6215 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.003116, allocations: 0 / 0.6215 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001072/0.003223, allocations: 0 / 0.6215 GB, free: 10.7 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 7.715e-05/0.0033, allocations: 103.2 kB / 0.6216 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.641e-05/0.003357, allocations: 4 kB / 0.6216 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.003358, allocations: 64 / 0.6216 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.003361, allocations: 4 kB / 0.6216 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.294e-05/0.003454, allocations: 2.188 kB / 0.6216 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002032/0.003657, allocations: 106.7 kB / 0.6217 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.017e-05/0.003687, allocations: 59.34 kB / 0.6218 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.003702, allocations: 8.5 kB / 0.6218 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.003703, allocations: 3.938 kB / 0.6218 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of Templates: time 0.001191/0.004893, allocations: 336 kB / 0.6221 GB, free: 10.03 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.621708887629211] Failed to read output from testmodel.py, exit status != 0: 0.009287809953093529 0.016457129 0.013343626 Calling exit ...