Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.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.0007196/0.0007196, 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.0007546/0.0007546, 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.8841/0.8841, allocations: 230.6 MB / 256.8 MB, free: 3.441 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.03738/0.03738, allocations: 12.2 MB / 325.4 MB, free: 3.406 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.0004177/0.0004177, allocations: 27.7 kB / 384.9 MB, free: 45.75 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.632/1.632, allocations: 353.8 MB / 0.7795 GB, free: 13.02 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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch") [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.001466/0.001466, allocations: 120.4 kB / 1.061 GB, free: 9.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2359, allocations: 134.9 MB / 1.193 GB, free: 2.59 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001535/0.2374, allocations: 0.7554 MB / 1.194 GB, free: 1.84 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2386, allocations: 1.307 MB / 1.195 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.2387, allocations: 4 kB / 1.195 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.2387, allocations: 15.8 kB / 1.195 GB, free: 0.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.2388, allocations: 11.86 kB / 1.195 GB, free: 500 kB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.2393, allocations: 257.1 kB / 1.195 GB, free: 248 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.2396, allocations: 255.6 kB / 1.196 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.2397, allocations: 41.23 kB / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2398, allocations: 107.8 kB / 1.196 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.2399, allocations: 103.6 kB / 1.196 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.24, allocations: 24 kB / 1.196 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.24, allocations: 35.98 kB / 1.196 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.2401, allocations: 43.89 kB / 1.196 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of NFVerifyModel.verify: time 8.321e-05/0.2402, allocations: 91.69 kB / 1.196 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.2404, allocations: 251.1 kB / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2404, allocations: 0 / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2404, allocations: 0 / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 6.351e-06/0.2404, allocations: 0 / 1.196 GB, free: 15.3 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004852/0.2409, allocations: 425.2 kB / 1.197 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2409, allocations: 11.98 kB / 1.197 GB, free: 14.83 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.241, allocations: 20.84 kB / 1.197 GB, free: 14.81 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.2413, allocations: 188.8 kB / 1.197 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.2414, allocations: 16.36 kB / 1.197 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.2414, allocations: 20.38 kB / 1.197 GB, free: 14.57 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.2416, allocations: 127.6 kB / 1.197 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2416, allocations: 15.92 kB / 1.197 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2416, allocations: 4 kB / 1.197 GB, free: 14.42 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2416, allocations: 7.984 kB / 1.197 GB, free: 14.41 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.7e-05/0.2417, allocations: 67.89 kB / 1.197 GB, free: 14.35 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.2422, allocations: 427.3 kB / 1.197 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.2425, allocations: 78.55 kB / 1.198 GB, free: 13.8 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.2425, allocations: 32.83 kB / 1.198 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.2425, allocations: 4 kB / 1.198 GB, free: 13.76 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.2427, allocations: 139.3 kB / 1.198 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=16): time 2.485e-06/0.2427, allocations: 3.938 kB / 1.198 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of matching and sorting (n=16): time 0.0003459/0.2431, allocations: 237.5 kB / 1.198 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.2431, allocations: 55.41 kB / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.2432, allocations: 143.9 kB / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.2433, allocations: 33.7 kB / 1.198 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.2433, allocations: 116.4 kB / 1.198 GB, free: 13 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.2433, allocations: 35.8 kB / 1.198 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.2434, allocations: 65.69 kB / 1.198 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.2435, allocations: 322.8 kB / 1.199 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.824e-05/0.2436, allocations: 67.95 kB / 1.199 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.2437, allocations: 133.7 kB / 1.199 GB, free: 12.35 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.2439, allocations: 213.7 kB / 1.199 GB, free: 12.1 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2439, allocations: 4 kB / 1.199 GB, free: 12.1 MB / 0.8387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003137/0.2442, allocations: 312.6 kB / 1.199 GB, free: 11.77 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.2442, allocations: 63.39 kB / 1.199 GB, free: 11.7 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2442, allocations: 4 kB / 1.199 GB, free: 11.7 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2443, allocations: 4.25 kB / 1.199 GB, free: 11.69 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.987e-05/0.2443, allocations: 11.94 kB / 1.199 GB, free: 11.68 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2443, allocations: 7.984 kB / 1.199 GB, free: 11.67 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.2445, allocations: 59.83 kB / 1.2 GB, free: 11.61 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.2445, allocations: 16 kB / 1.2 GB, free: 11.6 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.738e-05/0.2446, allocations: 137.8 kB / 1.2 GB, free: 11.45 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.2446, allocations: 23.78 kB / 1.2 GB, free: 11.43 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.2446, allocations: 8.781 kB / 1.2 GB, free: 11.42 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2446, allocations: 4 kB / 1.2 GB, free: 11.42 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2446, allocations: 0 / 1.2 GB, free: 11.42 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2446, allocations: 3.984 kB / 1.2 GB, free: 11.41 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.245, allocations: 457.4 kB / 1.2 GB, free: 10.92 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.245, allocations: 3.938 kB / 1.2 GB, free: 10.91 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.245, allocations: 11.92 kB / 1.2 GB, free: 10.9 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.245, allocations: 4 kB / 1.2 GB, free: 10.9 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.245, allocations: 4 kB / 1.2 GB, free: 10.89 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.245, allocations: 0 / 1.2 GB, free: 10.89 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.245, allocations: 0 / 1.2 GB, free: 10.89 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.2452, allocations: 290 kB / 1.2 GB, free: 10.6 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.2452, allocations: 15.89 kB / 1.2 GB, free: 10.58 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.2452, allocations: 8 kB / 1.2 GB, free: 10.57 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.2453, allocations: 7.984 kB / 1.2 GB, free: 10.57 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.2453, allocations: 11.98 kB / 1.2 GB, free: 10.55 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2453, allocations: 15.98 kB / 1.2 GB, free: 10.54 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.2454, allocations: 95.27 kB / 1.201 GB, free: 10.45 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2454, allocations: 0 / 1.201 GB, free: 10.45 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002088/0.2456, allocations: 47.94 kB / 1.201 GB, free: 10.4 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001281/0.2457, allocations: 107.2 kB / 1.201 GB, free: 10.29 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.246, allocations: 266.8 kB / 1.201 GB, free: 10 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.246, allocations: 0 / 1.201 GB, free: 10 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/0.2461, allocations: 55.97 kB / 1.201 GB, free: 9.945 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.2463, allocations: 27.84 kB / 1.201 GB, free: 9.918 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.2467, allocations: 297.1 kB / 1.201 GB, free: 9.598 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.2469, allocations: 0.7088 MB / 1.202 GB, free: 8.863 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.2469, allocations: 15.44 kB / 1.202 GB, free: 8.848 MB / 0.8387 GB Notification: Performance of SimCode: time 5.21e-07/0.2469, allocations: 0 / 1.202 GB, free: 8.848 MB / 0.8387 GB Notification: Performance of Templates: time 0.002671/0.2496, allocations: 1.984 MB / 1.204 GB, free: 6.883 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8741584261879325] Failed to read output from testmodel.py, exit status != 0: 0.2555951438844204 0.263752117 0.021539514000000003 Calling exit ...