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.0007832/0.0007832, allocations: 100.4 kB / 19.71 MB, free: 440 kB / 13.93 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.0008983/0.0008983, allocations: 215 kB / 23 MB, free: 2.973 MB / 13.93 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.839/0.839, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.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.7218/0.7218, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009395/0.0009395, allocations: 62.47 kB / 0.7194 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4219, allocations: 102 MB / 0.819 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001357/0.4232, allocations: 0.6305 MB / 0.8196 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009854/0.4242, allocations: 1.211 MB / 0.8208 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.4243, allocations: 0 / 0.8208 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.4243, allocations: 6.531 kB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.296e-05/0.4244, allocations: 13.69 kB / 0.8208 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.4249, allocations: 214 kB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.425, allocations: 177.2 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.4251, allocations: 9.641 kB / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.183e-05/0.4252, allocations: 69.22 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.4253, allocations: 53.42 kB / 0.8213 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.4253, allocations: 14.84 kB / 0.8214 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.17e-05/0.4254, allocations: 32.66 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.4254, allocations: 9.484 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.4255, allocations: 53.11 kB / 0.8214 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.4257, allocations: 154.7 kB / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.4257, allocations: 2.5 kB / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4257, allocations: 0 / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4257, allocations: 0 / 0.8216 GB, free: 15.72 MB / 0.6198 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.0005453/0.4262, allocations: 359.4 kB / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.4263, allocations: 8.594 kB / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.4263, allocations: 13.3 kB / 0.822 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.435e-05/0.4264, allocations: 116.7 kB / 0.8221 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.4264, allocations: 7.375 kB / 0.8221 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.4264, allocations: 16.38 kB / 0.8221 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.074e-05/0.4265, allocations: 43.75 kB / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4265, allocations: 3.938 kB / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.4265, allocations: 0 / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4265, allocations: 3.438 kB / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.177e-05/0.4266, allocations: 12.17 kB / 0.8222 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.4269, allocations: 271.3 kB / 0.8224 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.755e-05/0.427, allocations: 41.5 kB / 0.8225 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.427, allocations: 14.95 kB / 0.8225 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.427, allocations: 0 / 0.8225 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.4272, allocations: 86.06 kB / 0.8225 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.4272, allocations: 0 / 0.8225 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002109/0.4274, allocations: 112.5 kB / 0.8227 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.4274, allocations: 54.52 kB / 0.8227 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.374e-05/0.4275, allocations: 120.1 kB / 0.8228 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.4275, allocations: 30.23 kB / 0.8229 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.4275, allocations: 93.67 kB / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.4276, allocations: 16.2 kB / 0.823 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.4276, allocations: 48.53 kB / 0.823 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.094e-05/0.4277, allocations: 319.4 kB / 0.8233 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.4278, allocations: 125 kB / 0.8234 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.4279, allocations: 158.3 kB / 0.8236 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.4281, allocations: 159.6 kB / 0.8237 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4281, allocations: 0 / 0.8237 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003078/0.4284, allocations: 324.6 kB / 0.824 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.4284, allocations: 68.03 kB / 0.8241 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4284, allocations: 6.375 kB / 0.8241 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4284, allocations: 1.25 kB / 0.8241 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.078e-05/0.4285, allocations: 7.031 kB / 0.8241 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4285, allocations: 2.031 kB / 0.8241 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.4287, allocations: 61.22 kB / 0.8242 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.4287, allocations: 12.66 kB / 0.8242 GB, free: 13.48 MB / 0.6198 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 7.694e-05/0.4288, allocations: 131.4 kB / 0.8243 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-06/0.4288, allocations: 7.047 kB / 0.8243 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.4288, allocations: 10.73 kB / 0.8243 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4288, allocations: 0.8125 kB / 0.8243 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4288, allocations: 1.094 kB / 0.8243 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4288, allocations: 3.938 kB / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.708e-05/0.4289, allocations: 121.5 kB / 0.8245 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4289, allocations: 0 / 0.8245 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-06/0.4289, allocations: 1.875 kB / 0.8245 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4289, allocations: 1.469 kB / 0.8245 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4289, allocations: 1.453 kB / 0.8245 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.4289, allocations: 5.344 kB / 0.8245 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4289, allocations: 0 / 0.8245 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.429, allocations: 125.3 kB / 0.8246 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.429, allocations: 6.922 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.429, allocations: 6.234 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.518e-05/0.4291, allocations: 0.8438 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.4291, allocations: 10.53 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.4291, allocations: 3.641 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.536e-05/0.4291, allocations: 89.19 kB / 0.8247 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4291, allocations: 0 / 0.8247 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001707/0.4293, allocations: 28.41 kB / 0.8247 GB, free: 13.01 MB / 0.6198 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 0.000109/0.4294, allocations: 110.9 kB / 0.8248 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.4297, allocations: 277.4 kB / 0.8251 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4297, allocations: 0 / 0.8251 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.4297, allocations: 25.11 kB / 0.8251 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.4299, allocations: 19.45 kB / 0.8251 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.4302, allocations: 192.9 kB / 0.8253 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.633e-05/0.4302, allocations: 69.69 kB / 0.8254 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.4303, allocations: 11.33 kB / 0.8254 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of SimCode: time 4.3e-07/0.4303, allocations: 0 / 0.8254 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.002489/0.4327, allocations: 1.403 MB / 0.8268 GB, free: 12.28 MB / 0.6198 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: 5.3306489726528525] Failed to read output from testmodel.py, exit status != 0: 0.4384124637581408 0.448014174 0.020473650000000003 Calling exit ...