Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.001359/0.001359, allocations: 75.48 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.001422/0.001422, allocations: 165.6 kB / 22.44 MB, free: 5.316 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.414/1.414, allocations: 177.2 MB / 202.8 MB, free: 9.207 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.186/1.186, allocations: 155 MB / 414.2 MB, free: 4.934 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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.002107/0.002107, allocations: 72.94 kB / 0.6192 GB, free: 4.145 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.6317/0.6338, allocations: 102 MB / 0.7188 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002134/0.6359, allocations: 0.5956 MB / 0.7194 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008857/0.6368, allocations: 0.8395 MB / 0.7202 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.449e-05/0.6369, allocations: 7.938 kB / 0.7202 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.6369, allocations: 0 / 0.7202 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.6369, allocations: 6.656 kB / 0.7202 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.6371, allocations: 8.375 kB / 0.7202 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.091e-05/0.6372, allocations: 17.08 kB / 0.7202 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.6372, allocations: 3.016 kB / 0.7202 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.6374, allocations: 29.2 kB / 0.7203 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.6375, allocations: 8.422 kB / 0.7203 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.6375, allocations: 2.25 kB / 0.7203 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.056e-05/0.6375, allocations: 3 kB / 0.7203 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.719e-06/0.6375, allocations: 5.891 kB / 0.7203 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.6375, allocations: 10.61 kB / 0.7203 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.947e-05/0.6376, allocations: 25.31 kB / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.6377, allocations: 0.6094 kB / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6377, allocations: 1.219 kB / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6377, allocations: 0 / 0.7203 GB, free: 0.7031 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.0003252/0.638, allocations: 253.5 kB / 0.7205 GB, free: 448 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.638, allocations: 10.16 kB / 0.7206 GB, free: 448 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.6382, allocations: 18.67 kB / 0.7206 GB, free: 440 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.437e-05/0.6382, allocations: 109.8 kB / 0.7207 GB, free: 308 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.6383, allocations: 1.531 kB / 0.7207 GB, free: 308 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.6383, allocations: 1.219 kB / 0.7207 GB, free: 308 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.6384, allocations: 34.89 kB / 0.7207 GB, free: 276 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.6384, allocations: 4.125 kB / 0.7207 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.6384, allocations: 5.156 kB / 0.7207 GB, free: 268 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.6384, allocations: 0.75 kB / 0.7207 GB, free: 268 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.884e-05/0.6385, allocations: 19.62 kB / 0.7207 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.6386, allocations: 98.77 kB / 0.7208 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.164e-05/0.6387, allocations: 30.06 kB / 0.7209 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.6387, allocations: 11.95 kB / 0.7209 GB, free: 96 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.6387, allocations: 0 / 0.7209 GB, free: 96 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.6387, allocations: 32.61 kB / 0.7209 GB, free: 56 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.6387, allocations: 1.25 kB / 0.7209 GB, free: 56 kB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002065/0.6389, allocations: 58.22 kB / 0.721 GB, free: 12 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.639, allocations: 52.69 kB / 0.721 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.6391, allocations: 106.2 kB / 0.7211 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.6391, allocations: 27.11 kB / 0.7211 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.6391, allocations: 89.86 kB / 0.7212 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.6392, allocations: 4.703 kB / 0.7212 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.6392, allocations: 13.09 kB / 0.7212 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6393, allocations: 313.8 kB / 0.7215 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.6394, allocations: 9.141 kB / 0.7216 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/0.6394, allocations: 6.125 kB / 0.7216 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.6395, allocations: 22.83 kB / 0.7216 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6395, allocations: 0 / 0.7216 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001141/0.6396, allocations: 50.34 kB / 0.7216 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.6396, allocations: 6.062 kB / 0.7216 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6396, allocations: 0.6094 kB / 0.7216 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6397, allocations: 3.938 kB / 0.7216 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.6397, allocations: 5.047 kB / 0.7216 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.6397, allocations: 3.938 kB / 0.7216 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.6398, allocations: 3.703 kB / 0.7217 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.6398, allocations: 0 / 0.7217 GB, free: 15.33 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 (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 9.96e-05/0.6399, allocations: 118.4 kB / 0.7218 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.6399, allocations: 0.75 kB / 0.7218 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.6399, allocations: 9.125 kB / 0.7218 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6399, allocations: 5.094 kB / 0.7218 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6399, allocations: 0 / 0.7218 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.6399, allocations: 0.8438 kB / 0.7218 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.409e-05/0.64, allocations: 106.7 kB / 0.7219 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.64, allocations: 1.219 kB / 0.7219 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.64, allocations: 3.641 kB / 0.7219 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.64, allocations: 1.922 kB / 0.7219 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.64, allocations: 0 / 0.7219 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.64, allocations: 4 kB / 0.7219 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.64, allocations: 14.09 kB / 0.7219 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.6402, allocations: 76.03 kB / 0.722 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.6402, allocations: 1.781 kB / 0.722 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.6402, allocations: 1.188 kB / 0.722 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.687e-05/0.6402, allocations: 2.406 kB / 0.722 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.6403, allocations: 5.719 kB / 0.722 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.6403, allocations: 2.172 kB / 0.722 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.6403, allocations: 87.78 kB / 0.7221 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.6403, allocations: 5.188 kB / 0.7221 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001778/0.6405, allocations: 2.469 kB / 0.7221 GB, free: 14.89 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.000111/0.6406, allocations: 94.09 kB / 0.7222 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.6407, allocations: 21.38 kB / 0.7222 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6407, allocations: 1.375 kB / 0.7222 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.6408, allocations: 10.86 kB / 0.7222 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.6409, allocations: 7.312 kB / 0.7222 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.6413, allocations: 115.3 kB / 0.7223 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.71e-05/0.6413, allocations: 57.14 kB / 0.7224 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.6414, allocations: 2.234 kB / 0.7224 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.6414, allocations: 12.44 kB / 0.7224 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of SimCode: time 4.2e-07/0.6414, allocations: 0 / 0.7224 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of Templates: time 0.002542/0.6439, allocations: 292 kB / 0.7227 GB, free: 14.53 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.167478879913688] Failed to read output from testmodel.py, exit status != 0: 0.6533310040831566 0.680040133 0.037225431 Calling exit ...