Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007896/0.0007896, allocations: 72.45 kB / 19.91 MB, free: 12 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.0007911/0.0007911, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.83/0.83, allocations: 177.2 MB / 203.6 MB, free: 5.785 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6914/0.6914, allocations: 154.7 MB / 414.7 MB, free: 0.7461 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_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.0009023/0.0009023, allocations: 71.88 kB / 0.6196 GB, free: 12.01 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.3744/0.3753, allocations: 102 MB / 0.7192 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001314/0.3767, allocations: 0.5629 MB / 0.7197 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.058e-05/0.3767, allocations: 4 kB / 0.7197 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.3767, allocations: 4 kB / 0.7197 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.3767, allocations: 0 / 0.7197 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.423e-05/0.3768, allocations: 0 / 0.7197 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.098e-05/0.3768, allocations: 4 kB / 0.7197 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.386e-05/0.3769, allocations: 0 / 0.7197 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.3769, allocations: 7.984 kB / 0.7197 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.3769, allocations: 3.984 kB / 0.7197 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.94e-05/0.377, allocations: 7.875 kB / 0.7197 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.377, allocations: 0 / 0.7197 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.177e-06/0.377, allocations: 0 / 0.7197 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.377, allocations: 0 / 0.7197 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.377, allocations: 4 kB / 0.7197 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.3e-05/0.3771, allocations: 8 kB / 0.7198 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3771, allocations: 0 / 0.7198 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3771, allocations: 0 / 0.7198 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3771, allocations: 0 / 0.7198 GB, free: 13.09 MB / 0.6042 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.0002185/0.3773, allocations: 241.4 kB / 0.72 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3773, allocations: 8.031 kB / 0.72 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.3774, allocations: 0.9375 kB / 0.72 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.596e-05/0.3774, allocations: 102.5 kB / 0.7201 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3774, allocations: 4.375 kB / 0.7201 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3774, allocations: 384 / 0.7201 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.57e-05/0.3775, allocations: 30.27 kB / 0.7201 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.3775, allocations: 192 / 0.7201 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3775, allocations: 7.922 kB / 0.7201 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3776, allocations: 4 kB / 0.7201 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.3776, allocations: 3.938 kB / 0.7201 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.539e-05/0.3777, allocations: 97.33 kB / 0.7202 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.602e-05/0.3777, allocations: 18.61 kB / 0.7202 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.3777, allocations: 12.78 kB / 0.7203 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.3777, allocations: 4.062 kB / 0.7203 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.3777, allocations: 30.56 kB / 0.7203 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 6.22e-07/0.3777, allocations: 4 kB / 0.7203 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.3779, allocations: 45.53 kB / 0.7203 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.3779, allocations: 55.34 kB / 0.7204 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.847e-05/0.3779, allocations: 89.86 kB / 0.7205 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.3779, allocations: 25.7 kB / 0.7205 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.823e-05/0.3779, allocations: 84.14 kB / 0.7206 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.378, allocations: 0 / 0.7206 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.378, allocations: 9.719 kB / 0.7206 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/0.3781, allocations: 318.8 kB / 0.7209 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.3781, allocations: 4 kB / 0.7209 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.3781, allocations: 4.125 kB / 0.7209 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.3781, allocations: 8.859 kB / 0.7209 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3781, allocations: 0 / 0.7209 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.345e-05/0.3781, allocations: 33.64 kB / 0.7209 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3782, allocations: 4 kB / 0.721 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3782, allocations: 4 kB / 0.721 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3782, allocations: 0 / 0.721 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.3782, allocations: 3.938 kB / 0.721 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3782, allocations: 7.984 kB / 0.721 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-06/0.3782, allocations: 4.094 kB / 0.721 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3782, allocations: 3.984 kB / 0.721 GB, free: 11.66 MB / 0.6042 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 4.917e-05/0.3783, allocations: 114.8 kB / 0.7211 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-06/0.3783, allocations: 0 / 0.7211 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.3783, allocations: 6.953 kB / 0.7211 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3783, allocations: 3.938 kB / 0.7211 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3783, allocations: 0 / 0.7211 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3783, allocations: 0 / 0.7211 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.514e-05/0.3784, allocations: 97.33 kB / 0.7212 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.3784, allocations: 0 / 0.7212 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-06/0.3784, allocations: 4 kB / 0.7212 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3784, allocations: 3.984 kB / 0.7212 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3784, allocations: 4 kB / 0.7212 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.3784, allocations: 0 / 0.7212 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3784, allocations: 3.938 kB / 0.7212 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.392e-05/0.3784, allocations: 57.08 kB / 0.7213 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-06/0.3784, allocations: 4 kB / 0.7213 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.3784, allocations: 0 / 0.7213 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-06/0.3784, allocations: 0 / 0.7213 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.3785, allocations: 11.86 kB / 0.7213 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-07/0.3785, allocations: 3.938 kB / 0.7213 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.068e-05/0.3785, allocations: 79.31 kB / 0.7214 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.3785, allocations: 0 / 0.7214 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001086/0.3786, allocations: 4 kB / 0.7214 GB, free: 11.22 MB / 0.6042 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 8.289e-05/0.3787, allocations: 91.25 kB / 0.7214 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.099e-05/0.3787, allocations: 7.938 kB / 0.7214 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3787, allocations: 0 / 0.7214 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.708e-06/0.3787, allocations: 8 kB / 0.7215 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.3788, allocations: 2.469 kB / 0.7215 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.3791, allocations: 125.4 kB / 0.7216 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.3791, allocations: 55.36 kB / 0.7216 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.3791, allocations: 8.5 kB / 0.7216 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.3791, allocations: 0 / 0.7216 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.001186/0.3803, allocations: 338.5 kB / 0.722 GB, free: 10.54 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.070117705967277] Failed to read output from testmodel.py, exit status != 0: 0.3859992269426584 0.39486353199999996 0.016035696000000002 Calling exit ...