Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.001261/0.001261, allocations: 84.2 kB / 19.18 MB, free: 2.523 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.001391/0.001391, allocations: 172 kB / 22.46 MB, free: 5.355 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.605/1.605, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.224/1.224, allocations: 154.6 MB / 413.7 MB, free: 5.312 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.397e-06/3.397e-06, allocations: 0 / 0.6185 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.582e-05/3.921e-05, allocations: 4.812 kB / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002289/0.002328, allocations: 0.5352 MB / 0.6191 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.753e-05/0.002376, allocations: 0 / 0.6191 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.002408, allocations: 0.5938 kB / 0.6191 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.002445, allocations: 3.938 kB / 0.6191 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.565e-05/0.00248, allocations: 5.906 kB / 0.6191 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.961e-05/0.00252, allocations: 0 / 0.6191 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.375e-05/0.002594, allocations: 8 kB / 0.6191 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.774e-05/0.002651, allocations: 0 / 0.6191 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.002692, allocations: 0 / 0.6191 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.76e-05/0.00272, allocations: 4 kB / 0.6191 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.002738, allocations: 0 / 0.6191 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.002749, allocations: 4 kB / 0.6191 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.002764, allocations: 0 / 0.6191 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.002788, allocations: 7.938 kB / 0.6191 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.583e-05/0.002864, allocations: 7.969 kB / 0.6191 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.002867, allocations: 0 / 0.6191 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002868, allocations: 0 / 0.6191 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002872, allocations: 0 / 0.6191 GB, free: 4.082 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.0003563/0.003229, allocations: 242.4 kB / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.00327, allocations: 13.47 kB / 0.6194 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.003305, allocations: 8.922 kB / 0.6194 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.003435, allocations: 101.8 kB / 0.6195 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.003449, allocations: 384 / 0.6195 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.00346, allocations: 8.312 kB / 0.6195 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.942e-05/0.003549, allocations: 30.2 kB / 0.6195 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.00356, allocations: 192 / 0.6195 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.003568, allocations: 384 / 0.6195 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.003572, allocations: 384 / 0.6195 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.003592, allocations: 7.938 kB / 0.6195 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.003936, allocations: 331.2 kB / 0.6198 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.004056, allocations: 173.1 kB / 0.62 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.0041, allocations: 80.14 kB / 0.6201 GB, free: 3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-05/0.00415, allocations: 75.28 kB / 0.6201 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.004208, allocations: 113.8 kB / 0.6202 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.004209, allocations: 0 / 0.6202 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.633e-05/0.004286, allocations: 29.64 kB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.701e-05/0.004383, allocations: 126.7 kB / 0.6204 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.004469, allocations: 93.86 kB / 0.6205 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.004488, allocations: 29.69 kB / 0.6205 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.004554, allocations: 84.08 kB / 0.6206 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-06/0.004556, allocations: 4.125 kB / 0.6206 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.004583, allocations: 13.72 kB / 0.6206 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.004734, allocations: 314.8 kB / 0.6209 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/0.004739, allocations: 0 / 0.6209 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-06/0.004742, allocations: 0 / 0.6209 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.004778, allocations: 75.28 kB / 0.621 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.935e-05/0.004817, allocations: 75.28 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.527e-05/0.004872, allocations: 29.7 kB / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.004915, allocations: 79.28 kB / 0.6212 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.302e-05/0.004968, allocations: 87.16 kB / 0.6212 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.36e-05/0.005051, allocations: 154.5 kB / 0.6214 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.399e-05/0.005095, allocations: 79.28 kB / 0.6215 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-05/0.005169, allocations: 162.5 kB / 0.6216 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.005245, allocations: 79.28 kB / 0.6217 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.005288, allocations: 79.22 kB / 0.6218 GB, free: 1.176 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 (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 0.0001478/0.005436, allocations: 265.3 kB / 0.622 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.005501, allocations: 105.2 kB / 0.6221 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.524e-05/0.005577, allocations: 111.9 kB / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.183e-05/0.005668, allocations: 188.2 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.904e-05/0.005757, allocations: 184.2 kB / 0.6226 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.071e-05/0.005848, allocations: 180.2 kB / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.006129, allocations: 356.9 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.542e-05/0.006174, allocations: 104.9 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.105e-05/0.006236, allocations: 109 kB / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-05/0.006314, allocations: 180.3 kB / 0.6235 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.756e-05/0.006412, allocations: 184.2 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-05/0.006502, allocations: 188.2 kB / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.885e-05/0.006591, allocations: 180.2 kB / 0.624 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.006772, allocations: 299.8 kB / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.006835, allocations: 112.9 kB / 0.6244 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.576e-05/0.006931, allocations: 176.3 kB / 0.6246 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.007049, allocations: 112.9 kB / 0.6247 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.007148, allocations: 184.3 kB / 0.6248 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.007193, allocations: 101 kB / 0.6249 GB, free: 13.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.007235, allocations: 75.28 kB / 0.625 GB, free: 13.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.007235, allocations: 0 / 0.625 GB, free: 13.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002407/0.007476, allocations: 0 / 0.625 GB, free: 13.66 MB / 0.545 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 0.0001709/0.007647, allocations: 182.5 kB / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.175e-05/0.007698, allocations: 0 / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.0077, allocations: 0 / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.007701, allocations: 4.094 kB / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.00812, allocations: 455.7 kB / 0.6256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.008423, allocations: 160.1 kB / 0.6258 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.636e-05/0.00848, allocations: 55.34 kB / 0.6258 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.294e-06/0.008482, allocations: 0 / 0.6258 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/0.008494, allocations: 12.5 kB / 0.6258 GB, free: 12.75 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.008495, allocations: 0 / 0.6258 GB, free: 12.75 MB / 0.545 GB Notification: Performance of Templates: time 0.002251/0.01075, allocations: 152.8 kB / 0.626 GB, free: 12.6 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.952940281480551] Failed to read output from testmodel.py, exit status != 0: 0.021187148988246918 0.033970246 0.028025947000000002 Calling exit ...