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.001406/0.001406, allocations: 110.4 kB / 18.94 MB, free: 2.953 MB / 14.72 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.001747/0.001747, allocations: 213.1 kB / 22.25 MB, free: 5.129 MB / 14.72 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.06573/0.06573, allocations: 12.18 MB / 324.6 MB, free: 7.305 MB / 254.1 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.0007553/0.0007553, allocations: 33.17 kB / 384.1 MB, free: 46.58 MB / 302.1 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 2.582/2.582, allocations: 353.8 MB / 0.7787 GB, free: 1.043 MB / 0.5138 GB " [Timeout remaining time 177] 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.003408/0.003408, allocations: 123.8 kB / 1.061 GB, free: 13.05 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.253, allocations: 134.9 MB / 1.192 GB, free: 6.234 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001876/0.2548, allocations: 0.758 MB / 1.193 GB, free: 5.477 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.2565, allocations: 1.297 MB / 1.194 GB, free: 4.168 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.2566, allocations: 0 / 1.194 GB, free: 4.168 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/0.2566, allocations: 15.86 kB / 1.194 GB, free: 4.152 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.2567, allocations: 19.8 kB / 1.194 GB, free: 4.133 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.2574, allocations: 256.8 kB / 1.195 GB, free: 3.891 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.2577, allocations: 259.6 kB / 1.195 GB, free: 3.637 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.2578, allocations: 33.3 kB / 1.195 GB, free: 3.602 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.258, allocations: 103.8 kB / 1.195 GB, free: 3.5 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.2581, allocations: 115.5 kB / 1.195 GB, free: 3.387 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.2582, allocations: 24 kB / 1.195 GB, free: 3.363 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-05/0.2583, allocations: 43.92 kB / 1.195 GB, free: 3.32 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/0.2583, allocations: 39.91 kB / 1.195 GB, free: 3.281 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.2584, allocations: 95.67 kB / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.2587, allocations: 243.2 kB / 1.195 GB, free: 2.949 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2587, allocations: 0 / 1.195 GB, free: 2.949 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2587, allocations: 0 / 1.195 GB, free: 2.949 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.2587, allocations: 0 / 1.195 GB, free: 2.949 MB / 0.8263 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.0006305/0.2593, allocations: 421.2 kB / 1.196 GB, free: 2.492 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2594, allocations: 11.98 kB / 1.196 GB, free: 2.48 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.2595, allocations: 24.83 kB / 1.196 GB, free: 2.457 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.2599, allocations: 182.5 kB / 1.196 GB, free: 2.254 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.26, allocations: 16.36 kB / 1.196 GB, free: 2.238 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.26, allocations: 16.38 kB / 1.196 GB, free: 2.223 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.2602, allocations: 138 kB / 1.196 GB, free: 2.082 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2602, allocations: 3.938 kB / 1.196 GB, free: 2.078 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.2603, allocations: 4 kB / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2603, allocations: 0 / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.2604, allocations: 76.77 kB / 1.196 GB, free: 2 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.261, allocations: 419.4 kB / 1.197 GB, free: 1.547 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.2612, allocations: 86.52 kB / 1.197 GB, free: 1.453 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.2612, allocations: 40.78 kB / 1.197 GB, free: 1.41 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.2612, allocations: 0 / 1.197 GB, free: 1.41 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.2615, allocations: 137.9 kB / 1.197 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.2615, allocations: 0 / 1.197 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of matching and sorting (n=16): time 0.0004243/0.2619, allocations: 237.5 kB / 1.197 GB, free: 1.027 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.262, allocations: 59.34 kB / 1.197 GB, free: 0.957 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.2621, allocations: 152.2 kB / 1.197 GB, free: 0.8008 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.2621, allocations: 33.7 kB / 1.197 GB, free: 0.7617 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.2622, allocations: 112.6 kB / 1.198 GB, free: 0.6484 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.2622, allocations: 31.8 kB / 1.198 GB, free: 0.6172 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.2623, allocations: 73.67 kB / 1.198 GB, free: 0.5391 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2625, allocations: 322.8 kB / 1.198 GB, free: 220 kB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.2626, allocations: 63.97 kB / 1.198 GB, free: 156 kB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.2628, allocations: 130.1 kB / 1.198 GB, free: 0 / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.2631, allocations: 217.2 kB / 1.198 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2631, allocations: 0 / 1.198 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004908/0.2636, allocations: 316.6 kB / 1.199 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/0.2636, allocations: 69.38 kB / 1.199 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2636, allocations: 4 kB / 1.199 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2636, allocations: 0 / 1.199 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.006e-05/0.2637, allocations: 20.17 kB / 1.199 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.2637, allocations: 0 / 1.199 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.264, allocations: 63.83 kB / 1.199 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.264, allocations: 15.98 kB / 1.199 GB, free: 15.24 MB / 0.8419 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 0.0001282/0.2641, allocations: 133.8 kB / 1.199 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.2642, allocations: 23.78 kB / 1.199 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.2642, allocations: 16.77 kB / 1.199 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2642, allocations: 0 / 1.199 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2642, allocations: 0 / 1.199 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2642, allocations: 4 kB / 1.199 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.2647, allocations: 457.4 kB / 1.199 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2647, allocations: 0 / 1.199 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.567e-05/0.2647, allocations: 8 kB / 1.199 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2647, allocations: 0 / 1.199 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2647, allocations: 4 kB / 1.199 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2647, allocations: 4 kB / 1.199 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2647, allocations: 3.984 kB / 1.199 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.265, allocations: 294.1 kB / 1.2 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.2651, allocations: 11.91 kB / 1.2 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.2651, allocations: 4 kB / 1.2 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.4e-05/0.2651, allocations: 7.969 kB / 1.2 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.2652, allocations: 11.98 kB / 1.2 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.2652, allocations: 15.98 kB / 1.2 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.2653, allocations: 99.27 kB / 1.2 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/0.2653, allocations: 0 / 1.2 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002967/0.2656, allocations: 43.94 kB / 1.2 GB, free: 14.05 MB / 0.8419 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.0001453/0.2657, allocations: 107.2 kB / 1.2 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.2661, allocations: 271 kB / 1.2 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2661, allocations: 0 / 1.2 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-05/0.2662, allocations: 55.86 kB / 1.2 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.2665, allocations: 31.91 kB / 1.2 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.267, allocations: 260 kB / 1.201 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.2674, allocations: 0.7124 MB / 1.201 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.849e-05/0.2674, allocations: 13.08 kB / 1.201 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.2674, allocations: 15.44 kB / 1.201 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.2674, allocations: 0 / 1.201 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.005439/0.2729, allocations: 2.211 MB / 1.203 GB, free: 10.34 MB / 0.8419 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.096099950373173] Failed to read output from testmodel.py, exit status != 0: 0.28093246743083 0.29528047100000004 0.033537845000000004 Calling exit ...