Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.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.001342/0.001342, allocations: 75.25 kB / 19.16 MB, free: 2.566 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.001553/0.001553, allocations: 167.9 kB / 22.44 MB, free: 5.309 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.403/1.403, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.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.167/1.167, allocations: 155 MB / 414.2 MB, free: 4.965 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.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [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.002002/0.002002, allocations: 71.66 kB / 0.6192 GB, free: 4.113 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.5331/0.5351, allocations: 102 MB / 0.7188 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001723/0.5368, allocations: 0.6631 MB / 0.7194 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008117/0.5376, allocations: 0.8438 MB / 0.7203 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.5376, allocations: 0 / 0.7203 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.5377, allocations: 0 / 0.7203 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.5377, allocations: 9.766 kB / 0.7203 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.5379, allocations: 15.11 kB / 0.7203 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.081e-05/0.538, allocations: 24.42 kB / 0.7203 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.5381, allocations: 3.297 kB / 0.7203 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/0.5382, allocations: 14.91 kB / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.5382, allocations: 9.891 kB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.5382, allocations: 2.281 kB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.279e-05/0.5383, allocations: 7.031 kB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.5383, allocations: 14.14 kB / 0.7204 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.5383, allocations: 2.594 kB / 0.7204 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.5384, allocations: 33.92 kB / 0.7204 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5384, allocations: 0 / 0.7204 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5384, allocations: 4 kB / 0.7204 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5384, allocations: 0 / 0.7204 GB, free: 0.668 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000386/0.5388, allocations: 265.3 kB / 0.7207 GB, free: 408 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5389, allocations: 9.906 kB / 0.7207 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/0.539, allocations: 4.016 kB / 0.7207 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.067e-05/0.539, allocations: 108.7 kB / 0.7208 GB, free: 276 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.539, allocations: 1.312 kB / 0.7208 GB, free: 276 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.539, allocations: 2.203 kB / 0.7208 GB, free: 276 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.5392, allocations: 49.64 kB / 0.7208 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5392, allocations: 4.188 kB / 0.7208 GB, free: 236 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5392, allocations: 8.531 kB / 0.7208 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.5392, allocations: 4.969 kB / 0.7208 GB, free: 224 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.5394, allocations: 36.94 kB / 0.7209 GB, free: 216 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.5397, allocations: 190 kB / 0.7211 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.5398, allocations: 36.86 kB / 0.7211 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.54, allocations: 26.83 kB / 0.7211 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.54, allocations: 9.438 kB / 0.7211 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.54, allocations: 31.41 kB / 0.7212 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.54, allocations: 0 / 0.7212 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0003749/0.5404, allocations: 84.81 kB / 0.7212 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.5404, allocations: 52.06 kB / 0.7213 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.5405, allocations: 97.19 kB / 0.7214 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5405, allocations: 27.33 kB / 0.7214 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.5406, allocations: 88.8 kB / 0.7215 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.5406, allocations: 13.75 kB / 0.7215 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.5407, allocations: 12.8 kB / 0.7215 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.5408, allocations: 317.6 kB / 0.7218 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.5409, allocations: 15.45 kB / 0.7218 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.541, allocations: 17.52 kB / 0.7218 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.5411, allocations: 44.66 kB / 0.7219 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5411, allocations: 0.5625 kB / 0.7219 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002022/0.5413, allocations: 70.88 kB / 0.722 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5414, allocations: 5.562 kB / 0.722 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5414, allocations: 0.7031 kB / 0.722 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5414, allocations: 1.375 kB / 0.722 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.5415, allocations: 8.531 kB / 0.722 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5415, allocations: 0 / 0.722 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.5415, allocations: 14.39 kB / 0.722 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.5415, allocations: 2.109 kB / 0.722 GB, free: 15.18 MB / 0.6231 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 (2): * Single equations (assignments): 2 * 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 7.943e-05/0.5416, allocations: 112.3 kB / 0.7221 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.5417, allocations: 5.781 kB / 0.7221 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.5419, allocations: 75.73 kB / 0.7222 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5419, allocations: 0.6094 kB / 0.7222 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5419, allocations: 1.344 kB / 0.7222 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5419, allocations: 0.6562 kB / 0.7222 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.542, allocations: 108.4 kB / 0.7223 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.542, allocations: 0.6094 kB / 0.7223 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.5421, allocations: 8.156 kB / 0.7223 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.5421, allocations: 5 kB / 0.7223 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.5421, allocations: 0 / 0.7223 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.5421, allocations: 2 kB / 0.7223 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5421, allocations: 0 / 0.7223 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.5424, allocations: 167.3 kB / 0.7225 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.5424, allocations: 21.94 kB / 0.7225 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.5424, allocations: 1.438 kB / 0.7225 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.5425, allocations: 5.781 kB / 0.7225 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.5425, allocations: 2.203 kB / 0.7225 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.5425, allocations: 1.953 kB / 0.7225 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.776e-05/0.5426, allocations: 83.41 kB / 0.7226 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5426, allocations: 1.188 kB / 0.7226 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002082/0.5428, allocations: 3.781 kB / 0.7226 GB, free: 14.64 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 (2): * Single equations (assignments): 2 * 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.0001195/0.5429, allocations: 96.25 kB / 0.7227 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.5431, allocations: 35 kB / 0.7227 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5431, allocations: 1.344 kB / 0.7227 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.5432, allocations: 23.02 kB / 0.7227 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.5435, allocations: 3.422 kB / 0.7227 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.5438, allocations: 113.6 kB / 0.7228 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.145e-05/0.5439, allocations: 63.48 kB / 0.7229 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.138e-05/0.5439, allocations: 1.797 kB / 0.7229 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.5439, allocations: 9.984 kB / 0.7229 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.5439, allocations: 0 / 0.7229 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of Templates: time 0.002998/0.5469, allocations: 476.7 kB / 0.7234 GB, free: 14.25 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.014280829578638] Failed to read output from testmodel.py, exit status != 0: 0.5558065921068192 0.577380279 0.034499509000000005 Calling exit ...