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.00155/0.00155, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001811/0.001811, allocations: 209.3 kB / 22.24 MB, free: 4.863 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 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-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.342/1.342, allocations: 203.8 MB / 0.5041 GB, free: 4.645 MB / 414.1 MB " [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.002098/0.002098, allocations: 70.08 kB / 0.7187 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6959, allocations: 102 MB / 0.8183 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.00178/0.6977, allocations: 0.5686 MB / 0.8188 GB, free: 28.56 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 3.629e-05/0.6977, allocations: 9.703 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.6977, allocations: 0.75 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.6978, allocations: 1.719 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 2.572e-05/0.6978, allocations: 7.453 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 3.262e-05/0.6978, allocations: 0 / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 6.008e-05/0.6979, allocations: 1.812 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.831e-05/0.6979, allocations: 2.078 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 1.595e-05/0.6979, allocations: 1.906 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 1.815e-05/0.698, allocations: 0 / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.698, allocations: 1.25 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-06/0.698, allocations: 0.5938 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.698, allocations: 0.875 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 1.946e-05/0.698, allocations: 1.344 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 6.413e-05/0.6981, allocations: 5.844 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6981, allocations: 1.531 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6981, allocations: 0.625 kB / 0.8189 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.6981, allocations: 0 / 0.8189 GB, free: 28.55 MB / 0.6387 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.0002177/0.6983, allocations: 236.5 kB / 0.8191 GB, free: 28.29 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6983, allocations: 11.72 kB / 0.8191 GB, free: 28.29 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.6984, allocations: 6.156 kB / 0.8191 GB, free: 28.29 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.769e-05/0.6984, allocations: 104.8 kB / 0.8192 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.6984, allocations: 6 kB / 0.8192 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.6984, allocations: 0.9688 kB / 0.8192 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.304e-05/0.6985, allocations: 29.75 kB / 0.8193 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6985, allocations: 4.125 kB / 0.8193 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.6985, allocations: 5.594 kB / 0.8193 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.6985, allocations: 0 / 0.8193 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.491e-05/0.6986, allocations: 2.125 kB / 0.8193 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.864e-05/0.6986, allocations: 102 kB / 0.8194 GB, free: 27.99 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.313e-05/0.6987, allocations: 17.03 kB / 0.8194 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.6987, allocations: 8.016 kB / 0.8194 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.6987, allocations: 1.156 kB / 0.8194 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.6987, allocations: 32.44 kB / 0.8194 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.6987, allocations: 0 / 0.8194 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001092/0.6989, allocations: 43.77 kB / 0.8195 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.6989, allocations: 53.48 kB / 0.8195 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.93e-05/0.6989, allocations: 89.86 kB / 0.8196 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.6989, allocations: 27.23 kB / 0.8196 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.358e-05/0.6989, allocations: 81.28 kB / 0.8197 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.6989, allocations: 2.375 kB / 0.8197 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.699, allocations: 12.94 kB / 0.8197 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.699, allocations: 316.3 kB / 0.82 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-06/0.699, allocations: 0.9688 kB / 0.82 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-06/0.699, allocations: 1.781 kB / 0.82 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.276e-05/0.6991, allocations: 13.23 kB / 0.82 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6991, allocations: 3.672 kB / 0.82 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.378e-05/0.6991, allocations: 36.55 kB / 0.8201 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.6991, allocations: 8.969 kB / 0.8201 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.6991, allocations: 0 / 0.8201 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.6992, allocations: 0.5312 kB / 0.8201 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.6992, allocations: 5.922 kB / 0.8201 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.6992, allocations: 0.625 kB / 0.8201 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.848e-06/0.6992, allocations: 0.5 kB / 0.8201 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.6992, allocations: 1.234 kB / 0.8201 GB, free: 27.22 MB / 0.6387 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.054e-05/0.6993, allocations: 113.5 kB / 0.8202 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-06/0.6993, allocations: 1.125 kB / 0.8202 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.412e-05/0.6993, allocations: 15.12 kB / 0.8202 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.6993, allocations: 3.938 kB / 0.8202 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6993, allocations: 0.6562 kB / 0.8202 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.6993, allocations: 1.625 kB / 0.8202 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.531e-05/0.6993, allocations: 98.95 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.6993, allocations: 1.156 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.02e-05/0.6993, allocations: 5.297 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.6993, allocations: 4.812 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.6994, allocations: 1.094 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6994, allocations: 0.6094 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6994, allocations: 7.344 kB / 0.8203 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.282e-05/0.6994, allocations: 58.45 kB / 0.8204 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.6994, allocations: 1.016 kB / 0.8204 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.6994, allocations: 1.594 kB / 0.8204 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-06/0.6994, allocations: 0.9688 kB / 0.8204 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.6994, allocations: 4.828 kB / 0.8204 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.6994, allocations: 1.125 kB / 0.8204 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 1.236e-05/0.6995, allocations: 75.28 kB / 0.8205 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6995, allocations: 8.312 kB / 0.8205 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000174/0.6996, allocations: 0 / 0.8205 GB, free: 26.8 MB / 0.6387 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.02e-05/0.6997, allocations: 94.39 kB / 0.8206 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.6998, allocations: 11.98 kB / 0.8206 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6998, allocations: 0 / 0.8206 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.722e-06/0.6998, allocations: 2.734 kB / 0.8206 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.6999, allocations: 6.234 kB / 0.8206 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002073/0.7001, allocations: 83.44 kB / 0.8207 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.703e-05/0.7002, allocations: 55.47 kB / 0.8207 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.438e-06/0.7002, allocations: 0 / 0.8207 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.477e-05/0.7002, allocations: 7.438 kB / 0.8207 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of SimCode: time 2.7e-07/0.7002, allocations: 1 kB / 0.8207 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of Templates: time 0.00207/0.7023, allocations: 166.4 kB / 0.8209 GB, free: 26.48 MB / 0.6387 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: 6.920685106888413] Failed to read output from testmodel.py, exit status != 0: 0.7112096846103668 0.724091788 0.022891556 Calling exit ...