Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.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.001821/0.001821, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.002184/0.002184, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.622/1.622, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.205/1.205, allocations: 154.6 MB / 413.7 MB, free: 5.316 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.Validation.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.851e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001701/0.001729, allocations: 0.5904 MB / 0.6191 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.003368, allocations: 1.131 MB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.003411, allocations: 2.469 kB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.003442, allocations: 3.938 kB / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.003497, allocations: 4 kB / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.003983, allocations: 125.9 kB / 0.6203 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.004153, allocations: 95.81 kB / 0.6204 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.556e-05/0.004239, allocations: 11.98 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.415e-05/0.004333, allocations: 47.91 kB / 0.6205 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.00442, allocations: 23.95 kB / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.004445, allocations: 8 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.369e-05/0.004509, allocations: 19.98 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.004526, allocations: 0 / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.004579, allocations: 23.98 kB / 0.6206 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.004779, allocations: 103.8 kB / 0.6207 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.004781, allocations: 4 kB / 0.6207 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004783, allocations: 0 / 0.6207 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.004787, allocations: 4 kB / 0.6207 GB, free: 2.457 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005006/0.005288, allocations: 296 kB / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.005331, allocations: 13.47 kB / 0.621 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.005386, allocations: 8.891 kB / 0.621 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.005514, allocations: 109.7 kB / 0.6211 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.005531, allocations: 4.375 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.005557, allocations: 8.375 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.018e-05/0.005648, allocations: 38.25 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.005657, allocations: 192 / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.005667, allocations: 384 / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.005671, allocations: 4.375 kB / 0.6211 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.938e-05/0.005711, allocations: 11.94 kB / 0.6211 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.00608, allocations: 232.5 kB / 0.6214 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.132e-05/0.006131, allocations: 22.52 kB / 0.6214 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.00615, allocations: 8.922 kB / 0.6214 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-06/0.006154, allocations: 0 / 0.6214 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.0063, allocations: 63.33 kB / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.006301, allocations: 0 / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001943/0.006495, allocations: 65.58 kB / 0.6215 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.006546, allocations: 55.41 kB / 0.6216 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.006643, allocations: 109.8 kB / 0.6217 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.006672, allocations: 33.64 kB / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.006731, allocations: 88.14 kB / 0.6218 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.897e-06/0.00674, allocations: 3.953 kB / 0.6218 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.006806, allocations: 29.7 kB / 0.6218 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.006964, allocations: 318.8 kB / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-05/0.007063, allocations: 57.69 kB / 0.6222 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.007165, allocations: 80.25 kB / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.007295, allocations: 84.42 kB / 0.6223 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.007296, allocations: 4 kB / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002854/0.007582, allocations: 181 kB / 0.6225 GB, free: 344 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.007621, allocations: 37.62 kB / 0.6225 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.007625, allocations: 4 kB / 0.6225 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.007636, allocations: 0 / 0.6225 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-05/0.007651, allocations: 0 / 0.6225 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.007662, allocations: 7.984 kB / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.007867, allocations: 27.97 kB / 0.6226 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.007885, allocations: 8.094 kB / 0.6226 GB, free: 252 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.581e-05/0.007981, allocations: 118.8 kB / 0.6227 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.007995, allocations: 3.938 kB / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.008017, allocations: 11.69 kB / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.008019, allocations: 320 / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.008021, allocations: 0 / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.008024, allocations: 0 / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.008146, allocations: 109.4 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.00815, allocations: 4 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-06/0.008156, allocations: 0 / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.008157, allocations: 0 / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.008165, allocations: 7.938 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.008166, allocations: 0 / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008167, allocations: 0 / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.008279, allocations: 81.06 kB / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-06/0.008288, allocations: 4 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.008307, allocations: 7.938 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.00832, allocations: 3.938 kB / 0.6229 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.008339, allocations: 3.844 kB / 0.6229 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.008345, allocations: 7.938 kB / 0.6229 GB, free: 15.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.008393, allocations: 87.27 kB / 0.623 GB, free: 15.74 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008393, allocations: 4 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002079/0.008601, allocations: 12 kB / 0.623 GB, free: 15.72 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001917/0.008793, allocations: 107.2 kB / 0.6231 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.00901, allocations: 133.1 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.009012, allocations: 0 / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.009046, allocations: 11.94 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.009244, allocations: 10.02 kB / 0.6233 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.009511, allocations: 128.9 kB / 0.6234 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.009568, allocations: 59.34 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.574e-05/0.009583, allocations: 4 kB / 0.6235 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.009601, allocations: 8.5 kB / 0.6235 GB, free: 15.2 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.009601, allocations: 0 / 0.6235 GB, free: 15.2 MB / 0.545 GB Notification: Performance of Templates: time 0.003875/0.01348, allocations: 1.139 MB / 0.6246 GB, free: 14.09 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.946855653077364] Failed to read output from testmodel.py, exit status != 0: 0.022794708609580994 0.04544038 0.036330623 Calling exit ...