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.001424/0.001424, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001479/0.001479, allocations: 213.8 kB / 22.25 MB, free: 4.855 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.789 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.06264/0.06264, allocations: 12.2 MB / 324.6 MB, free: 7.078 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.000787/0.000787, allocations: 29.48 kB / 384.1 MB, free: 47.54 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.788/2.788, allocations: 353.9 MB / 0.7787 GB, free: 1.609 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.003595/0.003595, allocations: 125.4 kB / 1.06 GB, free: 12.59 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2765, allocations: 134.9 MB / 1.192 GB, free: 5.781 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001978/0.2785, allocations: 0.7293 MB / 1.193 GB, free: 5.055 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2802, allocations: 1.285 MB / 1.194 GB, free: 3.758 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.2803, allocations: 4 kB / 1.194 GB, free: 3.754 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 4.785e-05/0.2803, allocations: 15.8 kB / 1.194 GB, free: 3.738 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.2804, allocations: 11.86 kB / 1.194 GB, free: 3.727 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.2811, allocations: 253.5 kB / 1.194 GB, free: 3.484 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.2814, allocations: 259.6 kB / 1.195 GB, free: 3.23 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.2815, allocations: 41.03 kB / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.2817, allocations: 111.7 kB / 1.195 GB, free: 3.078 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2818, allocations: 83.67 kB / 1.195 GB, free: 2.996 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.2819, allocations: 28 kB / 1.195 GB, free: 2.969 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/0.282, allocations: 35.98 kB / 1.195 GB, free: 2.934 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.282, allocations: 31.91 kB / 1.195 GB, free: 2.902 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.2821, allocations: 91.73 kB / 1.195 GB, free: 2.812 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.2824, allocations: 247.1 kB / 1.195 GB, free: 2.57 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2824, allocations: 0 / 1.195 GB, free: 2.57 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2824, allocations: 4 kB / 1.195 GB, free: 2.566 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.2824, allocations: 0 / 1.195 GB, free: 2.566 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.000666/0.2831, allocations: 425.2 kB / 1.196 GB, free: 2.105 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2831, allocations: 11.98 kB / 1.196 GB, free: 2.094 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/0.2832, allocations: 20.84 kB / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/0.2838, allocations: 178.5 kB / 1.196 GB, free: 1.875 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.2838, allocations: 12.38 kB / 1.196 GB, free: 1.863 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.2838, allocations: 24.36 kB / 1.196 GB, free: 1.84 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.2841, allocations: 134 kB / 1.196 GB, free: 1.703 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2841, allocations: 7.938 kB / 1.196 GB, free: 1.695 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.2841, allocations: 7.938 kB / 1.196 GB, free: 1.688 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2841, allocations: 4 kB / 1.196 GB, free: 1.684 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.2843, allocations: 67.95 kB / 1.196 GB, free: 1.617 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.2849, allocations: 348 kB / 1.197 GB, free: 1.246 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.285, allocations: 78.53 kB / 1.197 GB, free: 1.16 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/0.2851, allocations: 40.83 kB / 1.197 GB, free: 1.117 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.2851, allocations: 0 / 1.197 GB, free: 1.117 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.2854, allocations: 139.1 kB / 1.197 GB, free: 0.9688 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.2854, allocations: 0 / 1.197 GB, free: 0.9688 MB / 0.8263 GB Notification: Performance of matching and sorting (n=16): time 0.0004885/0.2858, allocations: 243.6 kB / 1.197 GB, free: 0.7266 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.2859, allocations: 55.41 kB / 1.197 GB, free: 0.6602 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.286, allocations: 145.7 kB / 1.197 GB, free: 0.5078 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.2861, allocations: 37.64 kB / 1.197 GB, free: 476 kB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 9.895e-05/0.2862, allocations: 116.6 kB / 1.197 GB, free: 356 kB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.2862, allocations: 31.8 kB / 1.197 GB, free: 324 kB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.2863, allocations: 65.69 kB / 1.197 GB, free: 252 kB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2865, allocations: 322.8 kB / 1.198 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.2867, allocations: 131.3 kB / 1.198 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.2869, allocations: 192.6 kB / 1.198 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.2872, allocations: 215 kB / 1.198 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2872, allocations: 4 kB / 1.198 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005669/0.2878, allocations: 375.3 kB / 1.199 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.386e-05/0.2878, allocations: 75.33 kB / 1.199 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2878, allocations: 0 / 1.199 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2879, allocations: 7.984 kB / 1.199 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.984e-05/0.2879, allocations: 7.938 kB / 1.199 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2879, allocations: 4.25 kB / 1.199 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.2882, allocations: 67.77 kB / 1.199 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.2883, allocations: 15.98 kB / 1.199 GB, free: 14.72 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.0001364/0.2884, allocations: 141.8 kB / 1.199 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.2884, allocations: 15.84 kB / 1.199 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.2885, allocations: 8.781 kB / 1.199 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2885, allocations: 8 kB / 1.199 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2885, allocations: 0 / 1.199 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2885, allocations: 0 / 1.199 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.289, allocations: 418 kB / 1.199 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.289, allocations: 0 / 1.199 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.289, allocations: 3.938 kB / 1.199 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.289, allocations: 4 kB / 1.199 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.289, allocations: 7.984 kB / 1.199 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.289, allocations: 0 / 1.199 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.289, allocations: 0 / 1.199 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.2893, allocations: 299.3 kB / 1.2 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.2894, allocations: 11.91 kB / 1.2 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.2894, allocations: 3.984 kB / 1.2 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.2895, allocations: 8 kB / 1.2 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.2895, allocations: 11.97 kB / 1.2 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.2895, allocations: 12 kB / 1.2 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.2896, allocations: 98.02 kB / 1.2 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/0.2896, allocations: 0 / 1.2 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003262/0.2899, allocations: 47.92 kB / 1.2 GB, free: 13.58 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.000155/0.2901, allocations: 115.2 kB / 1.2 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.2905, allocations: 327.7 kB / 1.2 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2905, allocations: 3.938 kB / 1.2 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.2906, allocations: 55.91 kB / 1.2 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.291, allocations: 26.78 kB / 1.2 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.2915, allocations: 267.9 kB / 1.201 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.2916, allocations: 98.78 kB / 1.201 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.2916, allocations: 9.078 kB / 1.201 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.2916, allocations: 15.44 kB / 1.201 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.2916, allocations: 3.938 kB / 1.201 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.00586/0.2975, allocations: 2.394 MB / 1.203 GB, free: 10.24 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: 9.037688709795475] Failed to read output from testmodel.py, exit status != 0: 0.30583661049604416 0.320603007 0.035080649000000005 Calling exit ...