Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.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.0007213/0.0007213, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007235/0.0007235, 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.8173/0.8173, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.7134/0.7134, allocations: 154.6 MB / 414.5 MB, free: 0.8359 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.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.513e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001172/0.001197, allocations: 0.6237 MB / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.002193, allocations: 1.213 MB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.002234, allocations: 0 / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.002257, allocations: 3.938 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.002313, allocations: 27.78 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.00272, allocations: 210.6 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.002897, allocations: 175.7 kB / 0.6215 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.282e-05/0.00297, allocations: 7.984 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.459e-05/0.003064, allocations: 95.88 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.003148, allocations: 51.91 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.003169, allocations: 12 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.778e-05/0.003217, allocations: 27.98 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.003235, allocations: 15.92 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.00328, allocations: 47.94 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.003443, allocations: 179.6 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.003444, allocations: 0 / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.011e-06/0.003445, allocations: 4 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.003448, allocations: 4 kB / 0.6219 GB, free: 10.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000338/0.003786, allocations: 357.5 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.003817, allocations: 9.469 kB / 0.6223 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.003858, allocations: 12.89 kB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.593e-05/0.003923, allocations: 121.7 kB / 0.6224 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.003935, allocations: 4.375 kB / 0.6224 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.003964, allocations: 12.36 kB / 0.6224 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.004305, allocations: 46.25 kB / 0.6225 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.004312, allocations: 192 / 0.6225 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.00432, allocations: 4.375 kB / 0.6225 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.004324, allocations: 4.375 kB / 0.6225 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.049e-05/0.004354, allocations: 19.92 kB / 0.6225 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.004644, allocations: 268.5 kB / 0.6227 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.305e-05/0.004697, allocations: 34.52 kB / 0.6228 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.004715, allocations: 12.94 kB / 0.6228 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.004722, allocations: 0 / 0.6228 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.864e-05/0.004821, allocations: 87.3 kB / 0.6229 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.004822, allocations: 0 / 0.6229 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001793/0.005001, allocations: 105.6 kB / 0.623 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.005031, allocations: 59.41 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.617e-05/0.005088, allocations: 117.8 kB / 0.6231 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.005107, allocations: 29.7 kB / 0.6232 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.005147, allocations: 92.09 kB / 0.6233 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.00516, allocations: 23.83 kB / 0.6233 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.005215, allocations: 49.69 kB / 0.6233 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.005281, allocations: 322.8 kB / 0.6236 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.005383, allocations: 119.4 kB / 0.6237 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.00549, allocations: 156 kB / 0.6239 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.005606, allocations: 167.6 kB / 0.6241 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005607, allocations: 0 / 0.6241 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002613/0.005869, allocations: 328.2 kB / 0.6244 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.005904, allocations: 67.39 kB / 0.6244 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.005907, allocations: 0 / 0.6244 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.005917, allocations: 0 / 0.6244 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.265e-05/0.00593, allocations: 4 kB / 0.6244 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.005934, allocations: 128 / 0.6244 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.0061, allocations: 59.92 kB / 0.6245 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.006117, allocations: 12 kB / 0.6245 GB, free: 7.559 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.37e-05/0.006181, allocations: 126.8 kB / 0.6246 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.006191, allocations: 11.89 kB / 0.6246 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.006209, allocations: 8.5 kB / 0.6246 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.006211, allocations: 4 kB / 0.6246 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.006214, allocations: 4 kB / 0.6246 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006216, allocations: 0 / 0.6246 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.98e-05/0.006276, allocations: 117.3 kB / 0.6248 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.006277, allocations: 0 / 0.6248 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-06/0.00628, allocations: 3.984 kB / 0.6248 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.006283, allocations: 7.938 kB / 0.6248 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.006288, allocations: 0 / 0.6248 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006289, allocations: 0 / 0.6248 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-07/0.006289, allocations: 0 / 0.6248 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.498e-05/0.006374, allocations: 117 kB / 0.6249 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-06/0.00638, allocations: 4 kB / 0.6249 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.006389, allocations: 7.938 kB / 0.6249 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-06/0.006399, allocations: 0 / 0.6249 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.006427, allocations: 11.98 kB / 0.6249 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.006431, allocations: 4 kB / 0.6249 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.004e-05/0.006461, allocations: 95.2 kB / 0.625 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006461, allocations: 0 / 0.625 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001441/0.006605, allocations: 35.89 kB / 0.625 GB, free: 6.949 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.314e-05/0.006699, allocations: 107.2 kB / 0.6251 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.006917, allocations: 278.5 kB / 0.6254 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006919, allocations: 4 kB / 0.6254 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.00695, allocations: 27.91 kB / 0.6254 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.007089, allocations: 15.98 kB / 0.6254 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.00731, allocations: 183.1 kB / 0.6256 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.619e-05/0.007347, allocations: 71.33 kB / 0.6257 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.007362, allocations: 16.75 kB / 0.6257 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of SimCode: time 3.51e-07/0.007362, allocations: 0 / 0.6257 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of Templates: time 0.001996/0.009359, allocations: 1.401 MB / 0.6271 GB, free: 4.777 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8784624533727765] Failed to read output from testmodel.py, exit status != 0: 0.013661641627550125 0.021952009 0.016939456000000002 Calling exit ...