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.001335/0.001335, allocations: 82.41 kB / 19.16 MB, free: 2.535 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.001411/0.001411, allocations: 172.3 kB / 22.44 MB, free: 5.34 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.39/1.39, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.1 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 1.179/1.179, allocations: 155 MB / 414.2 MB, free: 4.93 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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 74.2 kB / 0.6192 GB, free: 4.109 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5325/0.5345, allocations: 102 MB / 0.7188 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001725/0.5363, allocations: 0.5814 MB / 0.7193 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.843e-05/0.5363, allocations: 0.75 kB / 0.7193 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.5363, allocations: 1.344 kB / 0.7193 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.5364, allocations: 0 / 0.7193 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.416e-05/0.5364, allocations: 0 / 0.7193 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.446e-05/0.5364, allocations: 0 / 0.7193 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.75e-05/0.5365, allocations: 2.594 kB / 0.7193 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.107e-05/0.5365, allocations: 2.156 kB / 0.7193 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.906e-05/0.5366, allocations: 4 kB / 0.7193 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.891e-05/0.5366, allocations: 2.016 kB / 0.7193 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.5366, allocations: 3.984 kB / 0.7193 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.619e-06/0.5366, allocations: 0 / 0.7193 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.5366, allocations: 1.469 kB / 0.7194 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.5366, allocations: 11.88 kB / 0.7194 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.544e-05/0.5367, allocations: 6 kB / 0.7194 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5367, allocations: 0.5625 kB / 0.7194 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5367, allocations: 0 / 0.7194 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.5367, allocations: 0 / 0.7194 GB, free: 1.379 MB / 0.6075 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.0001926/0.5369, allocations: 235.9 kB / 0.7196 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.5369, allocations: 16.81 kB / 0.7196 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.537, allocations: 1.734 kB / 0.7196 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.195e-05/0.537, allocations: 103.3 kB / 0.7197 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.537, allocations: 384 / 0.7197 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.537, allocations: 384 / 0.7197 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.645e-05/0.5371, allocations: 34.86 kB / 0.7197 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5371, allocations: 192 / 0.7197 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.5371, allocations: 3.938 kB / 0.7197 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.5371, allocations: 0 / 0.7197 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.746e-05/0.5372, allocations: 5.734 kB / 0.7198 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.906e-05/0.5372, allocations: 98.89 kB / 0.7198 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.426e-05/0.5373, allocations: 18.08 kB / 0.7199 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.5373, allocations: 12.97 kB / 0.7199 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.5373, allocations: 0.75 kB / 0.7199 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.5373, allocations: 30.56 kB / 0.7199 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.5373, allocations: 0 / 0.7199 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000106/0.5374, allocations: 43.5 kB / 0.7199 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.5374, allocations: 51.97 kB / 0.72 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.792e-05/0.5375, allocations: 94.38 kB / 0.7201 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.5375, allocations: 29.83 kB / 0.7201 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.759e-06/0.5375, allocations: 80.14 kB / 0.7202 GB, free: 444 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.5375, allocations: 4 kB / 0.7202 GB, free: 440 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.5375, allocations: 10.38 kB / 0.7202 GB, free: 424 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.5376, allocations: 312.8 kB / 0.7205 GB, free: 104 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.5376, allocations: 0.5938 kB / 0.7205 GB, free: 104 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-06/0.5376, allocations: 3.312 kB / 0.7205 GB, free: 104 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.933e-05/0.5376, allocations: 11.39 kB / 0.7205 GB, free: 92 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5376, allocations: 0 / 0.7205 GB, free: 92 kB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.036e-05/0.5376, allocations: 41.12 kB / 0.7206 GB, free: 52 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.5376, allocations: 7.875 kB / 0.7206 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5376, allocations: 0.9375 kB / 0.7206 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5377, allocations: 2.125 kB / 0.7206 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.855e-05/0.5377, allocations: 3.938 kB / 0.7206 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5377, allocations: 0.5 kB / 0.7206 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-06/0.5377, allocations: 4.766 kB / 0.7206 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.5377, allocations: 0 / 0.7206 GB, free: 44 kB / 0.6075 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 8.18e-05/0.5378, allocations: 106.8 kB / 0.7207 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-06/0.5378, allocations: 4.828 kB / 0.7207 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.519e-05/0.5378, allocations: 6.953 kB / 0.7207 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.5378, allocations: 16.94 kB / 0.7207 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5378, allocations: 0 / 0.7207 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5378, allocations: 4 kB / 0.7207 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.244e-05/0.5379, allocations: 94.27 kB / 0.7208 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.5379, allocations: 0 / 0.7208 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.064e-05/0.5379, allocations: 5.062 kB / 0.7208 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.5379, allocations: 0 / 0.7208 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-06/0.5379, allocations: 0 / 0.7208 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.5379, allocations: 0 / 0.7208 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5379, allocations: 4.781 kB / 0.7208 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.672e-05/0.538, allocations: 66.41 kB / 0.7209 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-06/0.538, allocations: 4.844 kB / 0.7209 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.538, allocations: 0 / 0.7209 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-06/0.538, allocations: 0.6094 kB / 0.7209 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.5381, allocations: 4.781 kB / 0.7209 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-06/0.5381, allocations: 3.5 kB / 0.7209 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.5381, allocations: 79.28 kB / 0.721 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5381, allocations: 0 / 0.721 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001735/0.5383, allocations: 0 / 0.721 GB, free: 15.62 MB / 0.6231 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.0001014/0.5384, allocations: 96.78 kB / 0.7211 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.5384, allocations: 4.719 kB / 0.7211 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5384, allocations: 0 / 0.7211 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.019e-05/0.5384, allocations: 6.875 kB / 0.7211 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.5386, allocations: 7.344 kB / 0.7211 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002315/0.5388, allocations: 91.48 kB / 0.7212 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.414e-05/0.5388, allocations: 54.84 kB / 0.7212 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.112e-05/0.5389, allocations: 0.7969 kB / 0.7212 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.5389, allocations: 8.5 kB / 0.7212 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.5389, allocations: 5.25 kB / 0.7212 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of Templates: time 0.002123/0.541, allocations: 176.7 kB / 0.7214 GB, free: 15.28 MB / 0.6231 GB " [Timeout remaining time 659] 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: 5.978904597461224] Failed to read output from testmodel.py, exit status != 0: 0.5493502169847488 0.565359162 0.02532471 Calling exit ...