Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0009478/0.0009478, allocations: 100.4 kB / 19.7 MB, free: 452 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.001036/0.001036, allocations: 212.2 kB / 23 MB, free: 2.977 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 1.003/1.003, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03805/0.03805, allocations: 12.19 MB / 325.4 MB, free: 6.102 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000544/0.000544, allocations: 19.97 kB / 384.8 MB, free: 10.54 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.879/1.879, allocations: 353.8 MB / 0.7794 GB, free: 4.59 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001563/0.001563, allocations: 123.6 kB / 1.061 GB, free: 24.47 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2814, allocations: 134.9 MB / 1.193 GB, free: 7.035 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002215/0.2836, allocations: 0.6349 MB / 1.194 GB, free: 6.402 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.2852, allocations: 1.227 MB / 1.195 GB, free: 5.164 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.2853, allocations: 0 / 1.195 GB, free: 5.164 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.2853, allocations: 3.938 kB / 1.195 GB, free: 5.16 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.657e-05/0.2854, allocations: 3.938 kB / 1.195 GB, free: 5.156 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007327/0.2861, allocations: 226 kB / 1.195 GB, free: 4.941 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.2864, allocations: 167.7 kB / 1.195 GB, free: 4.777 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2865, allocations: 15.97 kB / 1.195 GB, free: 4.762 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.2866, allocations: 63.91 kB / 1.195 GB, free: 4.699 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.2867, allocations: 55.84 kB / 1.195 GB, free: 4.645 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.2868, allocations: 16 kB / 1.195 GB, free: 4.629 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.2868, allocations: 23.98 kB / 1.195 GB, free: 4.605 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.2869, allocations: 12 kB / 1.195 GB, free: 4.594 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.092e-05/0.2869, allocations: 59.81 kB / 1.195 GB, free: 4.535 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.2872, allocations: 151.6 kB / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2872, allocations: 0 / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2872, allocations: 0 / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.2872, allocations: 0 / 1.195 GB, free: 4.387 MB / 0.823 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.0005369/0.2877, allocations: 361.5 kB / 1.196 GB, free: 3.988 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2878, allocations: 12.03 kB / 1.196 GB, free: 3.977 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.2878, allocations: 8.891 kB / 1.196 GB, free: 3.969 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.2879, allocations: 114.4 kB / 1.196 GB, free: 3.832 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.2879, allocations: 12.38 kB / 1.196 GB, free: 3.82 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.288, allocations: 16.31 kB / 1.196 GB, free: 3.805 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.2881, allocations: 46.23 kB / 1.196 GB, free: 3.754 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2881, allocations: 192 / 1.196 GB, free: 3.754 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2881, allocations: 7.938 kB / 1.196 GB, free: 3.746 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2881, allocations: 4 kB / 1.196 GB, free: 3.742 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.2882, allocations: 15.94 kB / 1.196 GB, free: 3.727 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.2886, allocations: 264.5 kB / 1.196 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.585e-05/0.2887, allocations: 34.56 kB / 1.196 GB, free: 3.395 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.2887, allocations: 16.8 kB / 1.196 GB, free: 3.375 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.2887, allocations: 8.078 kB / 1.196 GB, free: 3.367 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.2889, allocations: 79.31 kB / 1.196 GB, free: 3.277 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.2889, allocations: 0 / 1.196 GB, free: 3.277 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002616/0.2892, allocations: 109.6 kB / 1.197 GB, free: 3.164 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.2892, allocations: 51.41 kB / 1.197 GB, free: 3.102 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2893, allocations: 121.7 kB / 1.197 GB, free: 2.973 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.2894, allocations: 33.69 kB / 1.197 GB, free: 2.934 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.2894, allocations: 92.14 kB / 1.197 GB, free: 2.84 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.2894, allocations: 11.91 kB / 1.197 GB, free: 2.828 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.2895, allocations: 49.69 kB / 1.197 GB, free: 2.773 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2896, allocations: 326.8 kB / 1.197 GB, free: 2.445 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2898, allocations: 119.3 kB / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.2899, allocations: 155.7 kB / 1.197 GB, free: 2.137 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.29, allocations: 156 kB / 1.198 GB, free: 1.957 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.29, allocations: 0 / 1.198 GB, free: 1.957 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003446/0.2904, allocations: 336.2 kB / 1.198 GB, free: 1.598 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.2904, allocations: 71.52 kB / 1.198 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2905, allocations: 0 / 1.198 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2905, allocations: 4.062 kB / 1.198 GB, free: 1.512 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.702e-05/0.2905, allocations: 8 kB / 1.198 GB, free: 1.504 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2905, allocations: 7.938 kB / 1.198 GB, free: 1.496 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.2907, allocations: 47.94 kB / 1.198 GB, free: 1.449 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.2908, allocations: 11.98 kB / 1.198 GB, free: 1.438 MB / 0.823 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 9.507e-05/0.2909, allocations: 126.9 kB / 1.198 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.2909, allocations: 7.953 kB / 1.198 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.2909, allocations: 16.34 kB / 1.198 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2909, allocations: 4 kB / 1.198 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2909, allocations: 0 / 1.198 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2909, allocations: 0 / 1.198 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.291, allocations: 121.2 kB / 1.198 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.291, allocations: 0 / 1.198 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-06/0.291, allocations: 7.938 kB / 1.198 GB, free: 1.117 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.291, allocations: 0 / 1.198 GB, free: 1.117 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.291, allocations: 7.984 kB / 1.198 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.291, allocations: 0 / 1.198 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.291, allocations: 4 kB / 1.198 GB, free: 1.105 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.2912, allocations: 113 kB / 1.198 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.2912, allocations: 7.938 kB / 1.198 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.2912, allocations: 4 kB / 1.198 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.777e-05/0.2912, allocations: 4 kB / 1.198 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.2913, allocations: 7.984 kB / 1.198 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2913, allocations: 0 / 1.198 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.2913, allocations: 91.27 kB / 1.199 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2913, allocations: 0 / 1.199 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000179/0.2915, allocations: 36.28 kB / 1.199 GB, free: 0.8281 MB / 0.823 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.0001604/0.2916, allocations: 103.2 kB / 1.199 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002979/0.2919, allocations: 278.1 kB / 1.199 GB, free: 420 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2919, allocations: 3.938 kB / 1.199 GB, free: 416 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.35e-05/0.292, allocations: 31.92 kB / 1.199 GB, free: 384 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.2922, allocations: 18.05 kB / 1.199 GB, free: 368 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.2926, allocations: 180.5 kB / 1.199 GB, free: 152 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.201e-05/0.2927, allocations: 71.59 kB / 1.199 GB, free: 60 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.2927, allocations: 7.438 kB / 1.199 GB, free: 52 kB / 0.823 GB Notification: Performance of SimCode: time 5.82e-07/0.2927, allocations: 4 kB / 1.199 GB, free: 48 kB / 0.823 GB Notification: Performance of Templates: time 0.00328/0.296, allocations: 1.404 MB / 1.201 GB, free: 14.66 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.293533588759601] Failed to read output from testmodel.py, exit status != 0: 0.30320816673338413 0.31338926300000003 0.024061024 Calling exit ...