Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0007204/0.0007204, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007089/0.0007089, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8564/0.8564, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6905/0.6905, allocations: 154.5 MB / 414.5 MB, free: 0.8477 MB / 378.7 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 179] 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.588e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001152/0.001177, allocations: 0.5351 MB / 0.6198 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.6e-05/0.001213, allocations: 4 kB / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.001238, allocations: 3.938 kB / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.001261, allocations: 0 / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.277e-05/0.001284, allocations: 0 / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.716e-05/0.001311, allocations: 0 / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.309e-05/0.001365, allocations: 7.938 kB / 0.6198 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.001408, allocations: 0 / 0.6198 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.748e-05/0.001436, allocations: 0 / 0.6198 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.563e-05/0.001451, allocations: 4 kB / 0.6198 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.001471, allocations: 0 / 0.6198 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.07e-06/0.001476, allocations: 4 kB / 0.6198 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.001487, allocations: 0 / 0.6198 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.001503, allocations: 0 / 0.6198 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.265e-05/0.001555, allocations: 11.97 kB / 0.6198 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.001557, allocations: 0 / 0.6198 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.61e-07/0.001558, allocations: 0 / 0.6198 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.001561, allocations: 0 / 0.6198 GB, free: 12.62 MB / 0.5886 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.0002144/0.001775, allocations: 230.5 kB / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.001813, allocations: 13.47 kB / 0.6201 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.001838, allocations: 4.938 kB / 0.6201 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.172e-05/0.00191, allocations: 113.7 kB / 0.6202 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.001919, allocations: 384 / 0.6202 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.001927, allocations: 4.359 kB / 0.6202 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.725e-05/0.001994, allocations: 34.27 kB / 0.6202 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.002001, allocations: 192 / 0.6202 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.002008, allocations: 384 / 0.6202 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.002012, allocations: 384 / 0.6202 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.507e-05/0.002027, allocations: 11.88 kB / 0.6202 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.002241, allocations: 327.2 kB / 0.6205 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.771e-05/0.002299, allocations: 169.1 kB / 0.6207 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.002321, allocations: 84.12 kB / 0.6208 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.002339, allocations: 75.28 kB / 0.6209 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.00237, allocations: 113.8 kB / 0.621 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 5.21e-07/0.00237, allocations: 0 / 0.621 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 4.609e-05/0.002416, allocations: 29.64 kB / 0.621 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.002455, allocations: 126.7 kB / 0.6211 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.364e-05/0.002509, allocations: 97.86 kB / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.002517, allocations: 25.7 kB / 0.6212 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.002543, allocations: 80.27 kB / 0.6213 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.002545, allocations: 4 kB / 0.6213 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.002562, allocations: 13.72 kB / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.002631, allocations: 314.8 kB / 0.6216 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-06/0.002634, allocations: 0 / 0.6216 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-06/0.002637, allocations: 0 / 0.6216 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.812e-05/0.002655, allocations: 79.22 kB / 0.6217 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.00267, allocations: 75.28 kB / 0.6218 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.69e-05/0.002696, allocations: 29.7 kB / 0.6218 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.002721, allocations: 79.28 kB / 0.6219 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.00274, allocations: 87.22 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.02e-05/0.00278, allocations: 158.5 kB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.627e-05/0.002796, allocations: 75.28 kB / 0.6222 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.269e-05/0.002829, allocations: 158.5 kB / 0.6223 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.002867, allocations: 79.28 kB / 0.6224 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.002882, allocations: 75.28 kB / 0.6225 GB, free: 9.727 MB / 0.5886 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 (0): * Single equations (assignments): 0 * 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 6.954e-05/0.002952, allocations: 265.3 kB / 0.6227 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.002988, allocations: 108.9 kB / 0.6228 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.003019, allocations: 112 kB / 0.6229 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.825e-05/0.003057, allocations: 188.4 kB / 0.6231 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.739e-05/0.003094, allocations: 180.3 kB / 0.6233 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.035e-05/0.003134, allocations: 184.3 kB / 0.6235 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.003245, allocations: 356.8 kB / 0.6238 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/0.003267, allocations: 105 kB / 0.6239 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.003291, allocations: 108.9 kB / 0.624 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-05/0.003327, allocations: 180.3 kB / 0.6242 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.003365, allocations: 176.3 kB / 0.6244 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-05/0.003401, allocations: 188.1 kB / 0.6245 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.711e-05/0.003438, allocations: 180.3 kB / 0.6247 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.804e-05/0.003516, allocations: 303.8 kB / 0.625 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.003543, allocations: 105 kB / 0.6251 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.003583, allocations: 180.2 kB / 0.6253 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.003625, allocations: 116.9 kB / 0.6254 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.003667, allocations: 188.2 kB / 0.6256 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.003687, allocations: 101 kB / 0.6257 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.038e-05/0.003708, allocations: 75.28 kB / 0.6257 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003708, allocations: 0 / 0.6257 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001529/0.003861, allocations: 3.953 kB / 0.6257 GB, free: 6.203 MB / 0.5886 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 (0): * Single equations (assignments): 0 * 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.049e-05/0.003941, allocations: 170.5 kB / 0.6259 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.28e-05/0.003974, allocations: 3.938 kB / 0.6259 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.003975, allocations: 4.094 kB / 0.6259 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.003977, allocations: 3.984 kB / 0.6259 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.004194, allocations: 459.7 kB / 0.6263 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001599/0.004354, allocations: 181.9 kB / 0.6265 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.004386, allocations: 51.36 kB / 0.6266 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-06/0.004396, allocations: 8.5 kB / 0.6266 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of SimCode: time 2.71e-07/0.004396, allocations: 4 kB / 0.6266 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of Templates: time 0.0008992/0.005296, allocations: 324 kB / 0.6269 GB, free: 4.957 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.746171614155173] Failed to read output from testmodel.py, exit status != 0: 0.009519286453723907 0.016253807000000002 0.013260249 Calling exit ...