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.001864/0.001864, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.001973/0.001973, allocations: 177.2 kB / 22.76 MB, free: 1.656 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 1.597/1.597, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 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-535:34: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-535:42: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.392/1.392, allocations: 154.8 MB / 414.3 MB, free: 384 kB / 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 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.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 3.487e-06/3.487e-06, allocations: 0 / 0.5199 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.47e-05/4.819e-05, allocations: 3.297 kB / 0.5199 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002697/0.002745, allocations: 0.574 MB / 0.5205 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 5.827e-05/0.002803, allocations: 7.922 kB / 0.5205 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.002824, allocations: 0 / 0.5205 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.002851, allocations: 1.25 kB / 0.5205 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.002892, allocations: 0.6562 kB / 0.5205 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.399e-05/0.002936, allocations: 4 kB / 0.5205 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.243e-05/0.003008, allocations: 3.844 kB / 0.5205 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.003063, allocations: 8.109 kB / 0.5205 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.003106, allocations: 0 / 0.5205 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.784e-05/0.003134, allocations: 0 / 0.5205 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.00315, allocations: 4 kB / 0.5205 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.328e-06/0.003154, allocations: 0 / 0.5205 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.003172, allocations: 4 kB / 0.5205 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.003191, allocations: 0 / 0.5205 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.023e-05/0.003251, allocations: 0 / 0.5205 GB, free: 1.629 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.003254, allocations: 0 / 0.5205 GB, free: 1.629 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003255, allocations: 0.5625 kB / 0.5205 GB, free: 1.629 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.003259, allocations: 0 / 0.5205 GB, free: 1.629 MB / 490.7 MB 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.0005004/0.003759, allocations: 341 kB / 0.5208 GB, free: 1.258 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.003814, allocations: 13 kB / 0.5208 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.003865, allocations: 0.9375 kB / 0.5208 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.004007, allocations: 104.6 kB / 0.5209 GB, free: 1.117 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.004022, allocations: 5.781 kB / 0.5209 GB, free: 1.113 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.004036, allocations: 4.375 kB / 0.5209 GB, free: 1.109 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.004145, allocations: 30.27 kB / 0.521 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.004156, allocations: 0.75 kB / 0.521 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.004165, allocations: 384 / 0.521 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.00417, allocations: 1.156 kB / 0.521 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.883e-05/0.004199, allocations: 7.938 kB / 0.521 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.004404, allocations: 106.4 kB / 0.5211 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.264e-05/0.004496, allocations: 27.09 kB / 0.5211 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.004551, allocations: 23.66 kB / 0.5211 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.004566, allocations: 0 / 0.5211 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/0.004624, allocations: 37.95 kB / 0.5212 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.004626, allocations: 0.9375 kB / 0.5212 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001979/0.004824, allocations: 29.7 kB / 0.5212 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.00489, allocations: 52.84 kB / 0.5212 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.005019, allocations: 146.2 kB / 0.5214 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.00505, allocations: 25.7 kB / 0.5214 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.005153, allocations: 126.9 kB / 0.5215 GB, free: 412 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.005198, allocations: 8.781 kB / 0.5215 GB, free: 404 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.005253, allocations: 19.31 kB / 0.5216 GB, free: 376 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004152/0.005668, allocations: 0.4895 MB / 0.522 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.005689, allocations: 4 kB / 0.522 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.005696, allocations: 0 / 0.522 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.005737, allocations: 14.41 kB / 0.522 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.00574, allocations: 0 / 0.522 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.891e-05/0.005839, allocations: 33.7 kB / 0.5221 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.005859, allocations: 4 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.005865, allocations: 0 / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.005882, allocations: 4 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.005944, allocations: 0.5312 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.00595, allocations: 5.469 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.00597, allocations: 3.938 kB / 0.5221 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.005979, allocations: 3.984 kB / 0.5221 GB, free: 15.79 MB / 0.4948 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.000161/0.00614, allocations: 156.6 kB / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.00615, allocations: 0.9375 kB / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.006172, allocations: 3 kB / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006173, allocations: 0.9375 kB / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.006182, allocations: 4 kB / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.006186, allocations: 0 / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.006334, allocations: 113.1 kB / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.006335, allocations: 0.75 kB / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.006359, allocations: 4 kB / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006361, allocations: 1.219 kB / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.006376, allocations: 7.984 kB / 0.5224 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006377, allocations: 0 / 0.5224 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.006379, allocations: 0.625 kB / 0.5224 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.006513, allocations: 68.98 kB / 0.5224 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.006521, allocations: 4 kB / 0.5225 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.006536, allocations: 0.8125 kB / 0.5225 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.213e-05/0.006548, allocations: 0 / 0.5225 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.006579, allocations: 6.734 kB / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.006581, allocations: 3.938 kB / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.836e-05/0.00668, allocations: 123.2 kB / 0.5226 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.00668, allocations: 0 / 0.5226 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003069/0.006987, allocations: 0 / 0.5226 GB, free: 15.24 MB / 0.4948 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 0.0001629/0.00715, allocations: 99.19 kB / 0.5227 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.00725, allocations: 14.81 kB / 0.5227 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.00726, allocations: 0 / 0.5227 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.007283, allocations: 11.69 kB / 0.5227 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.007486, allocations: 0 / 0.5227 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.007862, allocations: 95.88 kB / 0.5228 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.86e-05/0.007951, allocations: 55.36 kB / 0.5228 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.38e-05/0.007965, allocations: 1.812 kB / 0.5228 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.007995, allocations: 8.5 kB / 0.5229 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.007995, allocations: 0 / 0.5229 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.003633/0.01163, allocations: 195.2 kB / 0.523 GB, free: 14.71 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.210763146053068]