Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.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.0007445/0.0007445, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0007239/0.0007239, allocations: 215.7 kB / 23.01 MB, free: 3.109 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.8861/0.8861, allocations: 230.6 MB / 256.8 MB, free: 3.453 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.05155/0.05155, allocations: 12.19 MB / 325.4 MB, free: 3.414 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.0005012/0.0005012, allocations: 24.11 kB / 384.9 MB, free: 45.77 MB / 298.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.646/1.646, allocations: 353.8 MB / 0.7795 GB, free: 13 MB / 0.5262 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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And") [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.001479/0.001479, allocations: 123.5 kB / 1.061 GB, free: 9.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2167, allocations: 134.9 MB / 1.193 GB, free: 2.578 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.And): time 0.001382/0.2181, allocations: 0.645 MB / 1.194 GB, free: 1.934 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2194, allocations: 1.239 MB / 1.195 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.2194, allocations: 4 kB / 1.195 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.2194, allocations: 7.938 kB / 1.195 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.2195, allocations: 11.86 kB / 1.195 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.22, allocations: 219.2 kB / 1.195 GB, free: 464 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.2201, allocations: 171.7 kB / 1.195 GB, free: 292 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.66e-05/0.2202, allocations: 15.97 kB / 1.195 GB, free: 276 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.401e-05/0.2203, allocations: 59.97 kB / 1.195 GB, free: 216 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.2204, allocations: 67.78 kB / 1.195 GB, free: 148 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2204, allocations: 19.94 kB / 1.195 GB, free: 128 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.173e-05/0.2205, allocations: 27.98 kB / 1.195 GB, free: 100 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2205, allocations: 15.92 kB / 1.195 GB, free: 84 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.2206, allocations: 59.83 kB / 1.195 GB, free: 24 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.2207, allocations: 147.6 kB / 1.196 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2207, allocations: 0 / 1.196 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2207, allocations: 0 / 1.196 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2207, allocations: 4 kB / 1.196 GB, free: 15.88 MB / 0.8387 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.000389/0.2211, allocations: 367.2 kB / 1.196 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2212, allocations: 19.98 kB / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.2212, allocations: 8.891 kB / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.594e-05/0.2213, allocations: 110.5 kB / 1.196 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2213, allocations: 4.375 kB / 1.196 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.2213, allocations: 16.36 kB / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.066e-05/0.2214, allocations: 50.19 kB / 1.196 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.2214, allocations: 192 / 1.196 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.2214, allocations: 3.938 kB / 1.196 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2214, allocations: 0 / 1.196 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.325e-05/0.2215, allocations: 15.98 kB / 1.196 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.2218, allocations: 323.9 kB / 1.196 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.335e-05/0.2219, allocations: 30.52 kB / 1.197 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.2219, allocations: 20.88 kB / 1.197 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.2219, allocations: 0 / 1.197 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.222, allocations: 83.38 kB / 1.197 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.222, allocations: 0 / 1.197 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7): time 0.0001803/0.2222, allocations: 101.6 kB / 1.197 GB, free: 14.6 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.2222, allocations: 59.34 kB / 1.197 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.2223, allocations: 125.7 kB / 1.197 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.2223, allocations: 34.08 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.2224, allocations: 84.14 kB / 1.197 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.2224, allocations: 15.91 kB / 1.197 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.2225, allocations: 45.69 kB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.2225, allocations: 334.7 kB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.2226, allocations: 59.97 kB / 1.197 GB, free: 13.81 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.2227, allocations: 88.25 kB / 1.198 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.2229, allocations: 155.6 kB / 1.198 GB, free: 13.53 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2229, allocations: 0 / 1.198 GB, free: 13.53 MB / 0.8387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002869/0.2231, allocations: 268.8 kB / 1.198 GB, free: 13.25 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.2232, allocations: 67.39 kB / 1.198 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2232, allocations: 0 / 1.198 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2232, allocations: 4 kB / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-05/0.2232, allocations: 3.938 kB / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2232, allocations: 8.125 kB / 1.198 GB, free: 13.15 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.2234, allocations: 59.86 kB / 1.198 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.2234, allocations: 8 kB / 1.198 GB, free: 13.09 MB / 0.8387 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,and1.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.359e-05/0.2235, allocations: 125.8 kB / 1.198 GB, free: 12.95 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-06/0.2235, allocations: 8.016 kB / 1.198 GB, free: 12.95 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.2235, allocations: 16.38 kB / 1.198 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2235, allocations: 3.984 kB / 1.198 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2235, allocations: 0 / 1.198 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2235, allocations: 4 kB / 1.198 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.917e-05/0.2236, allocations: 152.6 kB / 1.198 GB, free: 12.73 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2236, allocations: 4 kB / 1.198 GB, free: 12.72 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-06/0.2236, allocations: 3.938 kB / 1.198 GB, free: 12.72 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2236, allocations: 0 / 1.198 GB, free: 12.72 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.2236, allocations: 4 kB / 1.198 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2236, allocations: 4 kB / 1.198 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2236, allocations: 96 / 1.198 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.2237, allocations: 112.9 kB / 1.199 GB, free: 12.58 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.2237, allocations: 7.953 kB / 1.199 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.2238, allocations: 4 kB / 1.199 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.04e-05/0.2238, allocations: 0 / 1.199 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.2238, allocations: 7.984 kB / 1.199 GB, free: 12.56 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.2238, allocations: 4 kB / 1.199 GB, free: 12.56 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.2238, allocations: 95.2 kB / 1.199 GB, free: 12.46 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2238, allocations: 4 kB / 1.199 GB, free: 12.46 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001579/0.224, allocations: 28 kB / 1.199 GB, free: 12.43 MB / 0.8387 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,and1.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.0001049/0.2241, allocations: 99.89 kB / 1.199 GB, free: 12.33 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.2243, allocations: 230.6 kB / 1.199 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2243, allocations: 0 / 1.199 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.2244, allocations: 16 kB / 1.199 GB, free: 12.06 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.2245, allocations: 20.23 kB / 1.199 GB, free: 12.04 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.2248, allocations: 187.6 kB / 1.199 GB, free: 11.83 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.225, allocations: 0.6873 MB / 1.2 GB, free: 11.12 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.225, allocations: 15.44 kB / 1.2 GB, free: 11.1 MB / 0.8387 GB Notification: Performance of SimCode: time 4.81e-07/0.225, allocations: 0 / 1.2 GB, free: 11.1 MB / 0.8387 GB Notification: Performance of Templates: time 0.00231/0.2273, allocations: 1.382 MB / 1.201 GB, free: 9.742 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.975243777036667] Failed to read output from testmodel.py, exit status != 0: 0.2334219627082348 0.24187527899999994 0.019433785000000002 Calling exit ...