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.0008537/0.0008537, allocations: 100.4 kB / 19.7 MB, free: 0.5664 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.0009609/0.0009609, allocations: 208.7 kB / 23 MB, free: 3.07 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.08/1.08, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.04173/0.04173, allocations: 12.19 MB / 325.4 MB, free: 6.105 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.0006361/0.0006361, allocations: 31.95 kB / 384.9 MB, free: 10.53 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.733/1.733, allocations: 353.8 MB / 0.7794 GB, free: 4.586 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.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.001472/0.001472, allocations: 123.5 kB / 1.061 GB, free: 24.53 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2524, allocations: 134.9 MB / 1.193 GB, free: 7.031 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001608/0.254, allocations: 0.7385 MB / 1.194 GB, free: 6.293 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2552, allocations: 1.273 MB / 1.195 GB, free: 5.008 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.2553, allocations: 4 kB / 1.195 GB, free: 5.004 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.331e-05/0.2553, allocations: 15.8 kB / 1.195 GB, free: 4.988 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.134e-05/0.2554, allocations: 11.88 kB / 1.195 GB, free: 4.977 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.2559, allocations: 261.8 kB / 1.195 GB, free: 4.727 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.2562, allocations: 255.6 kB / 1.195 GB, free: 4.477 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.2563, allocations: 44.95 kB / 1.195 GB, free: 4.43 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.2564, allocations: 99.81 kB / 1.196 GB, free: 4.332 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.2565, allocations: 91.66 kB / 1.196 GB, free: 4.242 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.2566, allocations: 28 kB / 1.196 GB, free: 4.215 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.363e-05/0.2566, allocations: 32 kB / 1.196 GB, free: 4.184 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.2567, allocations: 43.89 kB / 1.196 GB, free: 4.141 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.409e-05/0.2567, allocations: 83.75 kB / 1.196 GB, free: 4.059 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.2569, allocations: 251.1 kB / 1.196 GB, free: 3.812 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.257, allocations: 0 / 1.196 GB, free: 3.812 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.353e-06/0.257, allocations: 0 / 1.196 GB, free: 3.812 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.257, allocations: 0 / 1.196 GB, free: 3.812 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004721/0.2574, allocations: 425.2 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2575, allocations: 8.031 kB / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.2575, allocations: 20.84 kB / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.2579, allocations: 182.5 kB / 1.197 GB, free: 3.121 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.2579, allocations: 12.36 kB / 1.197 GB, free: 3.109 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.2579, allocations: 20.38 kB / 1.197 GB, free: 3.09 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.2581, allocations: 131.6 kB / 1.197 GB, free: 2.957 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2581, allocations: 7.938 kB / 1.197 GB, free: 2.949 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.2581, allocations: 7.984 kB / 1.197 GB, free: 2.941 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.2581, allocations: 4 kB / 1.197 GB, free: 2.938 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/0.2582, allocations: 67.89 kB / 1.197 GB, free: 2.871 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.2586, allocations: 352.1 kB / 1.197 GB, free: 2.496 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.2588, allocations: 82.53 kB / 1.197 GB, free: 2.406 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.2588, allocations: 32.84 kB / 1.197 GB, free: 2.371 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-06/0.2588, allocations: 0 / 1.197 GB, free: 2.371 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.259, allocations: 145.2 kB / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.259, allocations: 3.938 kB / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003202/0.2593, allocations: 237.5 kB / 1.198 GB, free: 1.977 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2594, allocations: 55.41 kB / 1.198 GB, free: 1.91 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.2595, allocations: 159.9 kB / 1.198 GB, free: 1.746 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.2595, allocations: 29.7 kB / 1.198 GB, free: 1.711 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.2596, allocations: 116.6 kB / 1.198 GB, free: 1.594 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.2596, allocations: 27.8 kB / 1.198 GB, free: 1.566 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.2596, allocations: 73.67 kB / 1.198 GB, free: 1.488 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.2597, allocations: 322.8 kB / 1.198 GB, free: 1.164 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.2599, allocations: 127.4 kB / 1.199 GB, free: 1.027 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.26, allocations: 198.3 kB / 1.199 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.2604, allocations: 216.4 kB / 1.199 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2604, allocations: 0 / 1.199 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003198/0.2607, allocations: 368.1 kB / 1.199 GB, free: 160 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.2608, allocations: 71.58 kB / 1.199 GB, free: 76 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2608, allocations: 4 kB / 1.199 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2608, allocations: 4 kB / 1.199 GB, free: 68 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-05/0.2608, allocations: 19.86 kB / 1.199 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2608, allocations: 4 kB / 1.199 GB, free: 44 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.261, allocations: 55.89 kB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.261, allocations: 15.94 kB / 1.199 GB, free: 15.97 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 8.562e-05/0.2611, allocations: 137.8 kB / 1.2 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.2611, allocations: 19.84 kB / 1.2 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.2612, allocations: 8.781 kB / 1.2 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2612, allocations: 7.984 kB / 1.2 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2612, allocations: 0 / 1.2 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2612, allocations: 0 / 1.2 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.2615, allocations: 423.5 kB / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2615, allocations: 0 / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-06/0.2615, allocations: 3.984 kB / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2615, allocations: 4 kB / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.2615, allocations: 4 kB / 1.2 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2615, allocations: 0 / 1.2 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2615, allocations: 0 / 1.2 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.2617, allocations: 301.5 kB / 1.2 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.2617, allocations: 11.91 kB / 1.2 GB, free: 15.01 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.2617, allocations: 4 kB / 1.2 GB, free: 15.01 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.481e-05/0.2618, allocations: 7.984 kB / 1.2 GB, free: 15 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.2618, allocations: 11.92 kB / 1.2 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.2618, allocations: 15.98 kB / 1.2 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.2619, allocations: 97.89 kB / 1.201 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2619, allocations: 7.938 kB / 1.201 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001929/0.262, allocations: 43.94 kB / 1.201 GB, free: 14.83 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.0001387/0.2622, allocations: 107.2 kB / 1.201 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.2625, allocations: 326 kB / 1.201 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2625, allocations: 0 / 1.201 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.2626, allocations: 68.33 kB / 1.201 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.2628, allocations: 31.91 kB / 1.201 GB, free: 14.26 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.2632, allocations: 289.1 kB / 1.201 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.734e-05/0.2632, allocations: 94.78 kB / 1.201 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.2633, allocations: 19.38 kB / 1.201 GB, free: 13.81 MB / 0.8387 GB Notification: Performance of SimCode: time 3.8e-07/0.2633, allocations: 0 / 1.201 GB, free: 13.81 MB / 0.8387 GB Notification: Performance of Templates: time 0.002507/0.2658, allocations: 2.009 MB / 1.203 GB, free: 11.81 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: 8.22516784351319] Failed to read output from testmodel.py, exit status != 0: 0.2720029018819332 0.28062186100000003 0.022011671 Calling exit ...