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.001385/0.001385, allocations: 83.03 kB / 19.18 MB, free: 2.516 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.001547/0.001547, allocations: 161.3 kB / 22.46 MB, free: 5.375 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.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.156 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.206/1.206, allocations: 154.6 MB / 413.7 MB, free: 5.273 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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.408e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001508/0.001532, allocations: 0.5947 MB / 0.6191 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.002593, allocations: 0.8398 MB / 0.62 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.00262, allocations: 0.8438 kB / 0.62 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.002644, allocations: 0 / 0.62 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.143e-05/0.002685, allocations: 5.156 kB / 0.62 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.002845, allocations: 15.86 kB / 0.62 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.575e-05/0.002911, allocations: 23.92 kB / 0.62 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.002958, allocations: 5.703 kB / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.003092, allocations: 19.97 kB / 0.62 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.003134, allocations: 7.938 kB / 0.62 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.003147, allocations: 0 / 0.62 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.067e-05/0.003187, allocations: 11.94 kB / 0.6201 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.003196, allocations: 0 / 0.6201 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.003216, allocations: 8 kB / 0.6201 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.26e-05/0.003299, allocations: 19.95 kB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003301, allocations: 4 kB / 0.6201 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003301, allocations: 0 / 0.6201 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.003308, allocations: 0 / 0.6201 GB, free: 3.023 MB / 0.5294 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.0003784/0.003687, allocations: 262.3 kB / 0.6203 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.003723, allocations: 13.47 kB / 0.6203 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.003865, allocations: 8.891 kB / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.003977, allocations: 121.7 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.003983, allocations: 384 / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.003994, allocations: 4.312 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.004104, allocations: 34.25 kB / 0.6205 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004112, allocations: 4.188 kB / 0.6205 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.004119, allocations: 384 / 0.6205 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.004122, allocations: 384 / 0.6205 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.72e-05/0.00419, allocations: 15.94 kB / 0.6205 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.00432, allocations: 101.3 kB / 0.6206 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.135e-05/0.004391, allocations: 34.5 kB / 0.6207 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.004432, allocations: 8.922 kB / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.004442, allocations: 0 / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.004471, allocations: 34.56 kB / 0.6207 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.004472, allocations: 0 / 0.6207 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001929/0.004665, allocations: 53.67 kB / 0.6207 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.004709, allocations: 55.34 kB / 0.6208 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.004793, allocations: 101.8 kB / 0.6209 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.004807, allocations: 33.83 kB / 0.6209 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.004856, allocations: 88.12 kB / 0.621 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.004878, allocations: 3.953 kB / 0.621 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.004907, allocations: 13.72 kB / 0.621 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.005041, allocations: 310.8 kB / 0.6213 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.005085, allocations: 11.98 kB / 0.6213 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.88e-05/0.005114, allocations: 4 kB / 0.6213 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.342e-05/0.005188, allocations: 20.84 kB / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.005189, allocations: 8.062 kB / 0.6214 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001127/0.005302, allocations: 49.56 kB / 0.6214 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.005314, allocations: 4 kB / 0.6214 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.005318, allocations: 0 / 0.6214 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.005329, allocations: 0 / 0.6214 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.00539, allocations: 7.984 kB / 0.6214 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.005394, allocations: 0 / 0.6214 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.005423, allocations: 3.938 kB / 0.6214 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.005428, allocations: 4 kB / 0.6214 GB, free: 1.461 MB / 0.5294 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 7.415e-05/0.005502, allocations: 114.9 kB / 0.6215 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.00551, allocations: 0 / 0.6215 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.005533, allocations: 15.09 kB / 0.6216 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.005534, allocations: 3.938 kB / 0.6216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.005536, allocations: 0 / 0.6216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.005541, allocations: 3.938 kB / 0.6216 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.517e-05/0.005626, allocations: 101.3 kB / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005627, allocations: 256 / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.005666, allocations: 7.984 kB / 0.6217 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.005669, allocations: 4 kB / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.005674, allocations: 0 / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005675, allocations: 4 kB / 0.6217 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.005678, allocations: 3.984 kB / 0.6217 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.005812, allocations: 80.95 kB / 0.6218 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.005817, allocations: 0 / 0.6218 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.00583, allocations: 3.984 kB / 0.6218 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.047e-05/0.00586, allocations: 4 kB / 0.6218 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.005882, allocations: 0 / 0.6218 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.005884, allocations: 0 / 0.6218 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.005931, allocations: 79.28 kB / 0.6218 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.005931, allocations: 4.031 kB / 0.6218 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001796/0.006111, allocations: 7.938 kB / 0.6219 GB, free: 0.9688 MB / 0.5294 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 9.051e-05/0.006201, allocations: 99.23 kB / 0.6219 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.006317, allocations: 19.98 kB / 0.622 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.006319, allocations: 0 / 0.622 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.006359, allocations: 7.938 kB / 0.622 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.006488, allocations: 4 kB / 0.622 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.006727, allocations: 101 kB / 0.6221 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.897e-05/0.006776, allocations: 59.34 kB / 0.6221 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.0068, allocations: 7.984 kB / 0.6221 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.006825, allocations: 12.5 kB / 0.6222 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.006826, allocations: 0 / 0.6222 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of Templates: time 0.002391/0.009217, allocations: 293.4 kB / 0.6224 GB, free: 336 kB / 0.5294 GB " [Timeout remaining time 660] 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: 5.65014174580574] Failed to read output from testmodel.py, exit status != 0: 0.01717425510287285 0.031537954 0.025312237 Calling exit ...