Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.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.0008425/0.0008425, allocations: 115 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.0008347/0.0008347, 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.9202/0.9202, allocations: 230.6 MB / 256.8 MB, free: 3.418 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.03791/0.03791, allocations: 12.19 MB / 325.4 MB, free: 3.383 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.0004802/0.0004802, allocations: 29.23 kB / 384.9 MB, free: 45.76 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.599/1.599, allocations: 353.8 MB / 0.7794 GB, free: 13.04 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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer") [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.001447/0.001447, allocations: 124.4 kB / 1.061 GB, free: 9.387 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2184, allocations: 134.9 MB / 1.193 GB, free: 2.57 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001382/0.2198, allocations: 0.7417 MB / 1.194 GB, free: 1.832 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2209, allocations: 1.309 MB / 1.195 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.221, allocations: 0 / 1.195 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.221, allocations: 7.922 kB / 1.195 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.399e-05/0.2211, allocations: 23.8 kB / 1.195 GB, free: 492 kB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.2216, allocations: 249.2 kB / 1.195 GB, free: 248 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.2218, allocations: 259.6 kB / 1.196 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.2219, allocations: 12.22 kB / 1.196 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.222, allocations: 99.72 kB / 1.196 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.2221, allocations: 99.75 kB / 1.196 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.2221, allocations: 24 kB / 1.196 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.827e-05/0.2222, allocations: 31.98 kB / 1.196 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.2222, allocations: 39.89 kB / 1.196 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.2223, allocations: 83.77 kB / 1.196 GB, free: 15.6 MB / 0.8387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.2225, allocations: 231.2 kB / 1.196 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2225, allocations: 4 kB / 1.196 GB, free: 15.37 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2225, allocations: 0 / 1.196 GB, free: 15.37 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2225, allocations: 4 kB / 1.196 GB, free: 15.37 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005275/0.2231, allocations: 425.3 kB / 1.197 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2231, allocations: 11.98 kB / 1.197 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.2232, allocations: 16.89 kB / 1.197 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.2235, allocations: 190.5 kB / 1.197 GB, free: 14.67 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.2235, allocations: 12.38 kB / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.2236, allocations: 20.36 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.2237, allocations: 141.9 kB / 1.197 GB, free: 14.49 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2237, allocations: 3.938 kB / 1.197 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.2238, allocations: 8 kB / 1.197 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2238, allocations: 0 / 1.197 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.038e-05/0.2239, allocations: 71.83 kB / 1.197 GB, free: 14.41 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.2245, allocations: 491.7 kB / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.2246, allocations: 141.2 kB / 1.198 GB, free: 13.72 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.2247, allocations: 53.69 kB / 1.198 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.2247, allocations: 0 / 1.198 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.2249, allocations: 206.3 kB / 1.198 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=22): time 1.062e-06/0.2249, allocations: 0 / 1.198 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of matching and sorting (n=22): time 0.0003757/0.2253, allocations: 305.5 kB / 1.198 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.2254, allocations: 89.03 kB / 1.198 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.298e-05/0.2254, allocations: 136 kB / 1.198 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.2255, allocations: 37.7 kB / 1.198 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.2255, allocations: 100.8 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.2255, allocations: 59.58 kB / 1.199 GB, free: 12.69 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.2256, allocations: 73.67 kB / 1.199 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.2257, allocations: 326.8 kB / 1.199 GB, free: 12.29 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.2258, allocations: 88.16 kB / 1.199 GB, free: 12.2 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.2259, allocations: 156.2 kB / 1.199 GB, free: 12.02 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.2261, allocations: 246.9 kB / 1.199 GB, free: 11.73 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2261, allocations: 0 / 1.199 GB, free: 11.73 MB / 0.8387 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003439/0.2265, allocations: 359.7 kB / 1.2 GB, free: 11.37 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.2265, allocations: 71.33 kB / 1.2 GB, free: 11.29 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2265, allocations: 0 / 1.2 GB, free: 11.29 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2265, allocations: 11.92 kB / 1.2 GB, free: 11.27 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.2266, allocations: 15.98 kB / 1.2 GB, free: 11.26 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.2266, allocations: 16.09 kB / 1.2 GB, free: 11.24 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.2268, allocations: 67.83 kB / 1.2 GB, free: 11.18 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.2268, allocations: 23.98 kB / 1.2 GB, free: 11.15 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: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.971e-05/0.2269, allocations: 135.8 kB / 1.2 GB, free: 11.01 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.2269, allocations: 19.95 kB / 1.2 GB, free: 10.99 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.2269, allocations: 12.44 kB / 1.2 GB, free: 10.98 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2269, allocations: 4 kB / 1.2 GB, free: 10.97 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2269, allocations: 3.938 kB / 1.2 GB, free: 10.97 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.227, allocations: 3.984 kB / 1.2 GB, free: 10.96 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.2274, allocations: 0.5826 MB / 1.201 GB, free: 10.33 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2274, allocations: 0 / 1.201 GB, free: 10.33 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.2274, allocations: 19.92 kB / 1.201 GB, free: 10.31 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2274, allocations: 3.938 kB / 1.201 GB, free: 10.31 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2274, allocations: 8 kB / 1.201 GB, free: 10.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2274, allocations: 0 / 1.201 GB, free: 10.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2274, allocations: 3.984 kB / 1.201 GB, free: 10.3 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.2277, allocations: 415.3 kB / 1.201 GB, free: 9.875 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.2277, allocations: 15.91 kB / 1.201 GB, free: 9.859 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.2277, allocations: 15.92 kB / 1.201 GB, free: 9.844 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.2278, allocations: 11.98 kB / 1.201 GB, free: 9.832 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.2278, allocations: 23.95 kB / 1.201 GB, free: 9.809 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2278, allocations: 15.98 kB / 1.201 GB, free: 9.793 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.2279, allocations: 95.27 kB / 1.201 GB, free: 9.699 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2279, allocations: 3.938 kB / 1.201 GB, free: 9.695 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002346/0.2281, allocations: 52 kB / 1.201 GB, free: 9.645 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * 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.0001344/0.2282, allocations: 123.1 kB / 1.201 GB, free: 9.516 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003189/0.2286, allocations: 316.8 kB / 1.202 GB, free: 9.184 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2286, allocations: 0 / 1.202 GB, free: 9.184 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 9.29e-05/0.2287, allocations: 87.92 kB / 1.202 GB, free: 9.098 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.2289, allocations: 31.91 kB / 1.202 GB, free: 9.066 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.2293, allocations: 300.7 kB / 1.202 GB, free: 8.742 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.2295, allocations: 0.7125 MB / 1.203 GB, free: 8 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.2295, allocations: 19.42 kB / 1.203 GB, free: 7.98 MB / 0.8387 GB Notification: Performance of SimCode: time 5.41e-07/0.2295, allocations: 0 / 1.203 GB, free: 7.98 MB / 0.8387 GB Notification: Performance of Templates: time 0.002803/0.2323, allocations: 2.271 MB / 1.205 GB, free: 5.723 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.844965814612806] Failed to read output from testmodel.py, exit status != 0: 0.23766359686851501 0.245723033 0.021517161 Calling exit ...