Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0007681/0.0007681, 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.001316/0.001316, allocations: 203.2 kB / 23 MB, free: 3.113 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.9062/0.9062, allocations: 230.6 MB / 256.8 MB, free: 3.48 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.038/0.038, allocations: 12.19 MB / 325.4 MB, free: 3.441 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.0004245/0.0004245, allocations: 30.28 kB / 384.9 MB, free: 45.82 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.641/1.641, 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.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [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.001402/0.001402, allocations: 124.5 kB / 1.061 GB, free: 9.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2032, allocations: 134.9 MB / 1.193 GB, free: 2.574 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001475/0.2046, allocations: 0.748 MB / 1.194 GB, free: 1.832 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.2056, allocations: 1.128 MB / 1.195 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.2057, allocations: 0 / 1.195 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.2057, allocations: 11.86 kB / 1.195 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/0.2058, allocations: 11.88 kB / 1.195 GB, free: 0.668 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.2061, allocations: 51.89 kB / 1.195 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2062, allocations: 79.69 kB / 1.195 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2063, allocations: 12.19 kB / 1.195 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.693e-05/0.2064, allocations: 27.92 kB / 1.195 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.2064, allocations: 35.83 kB / 1.195 GB, free: 472 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2064, allocations: 8 kB / 1.195 GB, free: 464 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.808e-05/0.2065, allocations: 19.98 kB / 1.195 GB, free: 444 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.2065, allocations: 19.92 kB / 1.195 GB, free: 424 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.2065, allocations: 23.86 kB / 1.195 GB, free: 400 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.2067, allocations: 83.69 kB / 1.195 GB, free: 316 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2067, allocations: 0 / 1.195 GB, free: 316 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2067, allocations: 0 / 1.195 GB, free: 316 kB / 0.823 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2067, allocations: 0 / 1.195 GB, free: 316 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004186/0.2071, allocations: 306.4 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2071, allocations: 11.98 kB / 1.195 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.2072, allocations: 12.83 kB / 1.196 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.984e-05/0.2072, allocations: 118.4 kB / 1.196 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.2072, allocations: 4.375 kB / 1.196 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.2073, allocations: 8.375 kB / 1.196 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.2074, allocations: 69.78 kB / 1.196 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2074, allocations: 0 / 1.196 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2074, allocations: 7.938 kB / 1.196 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2074, allocations: 0 / 1.196 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.2075, allocations: 51.89 kB / 1.196 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.2079, allocations: 291.7 kB / 1.196 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.208, allocations: 58.58 kB / 1.196 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.2081, allocations: 28.97 kB / 1.196 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.2081, allocations: 0 / 1.196 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.2082, allocations: 79.38 kB / 1.196 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.2082, allocations: 0 / 1.196 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7): time 0.000245/0.2085, allocations: 133.5 kB / 1.196 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.2085, allocations: 55.41 kB / 1.196 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.55e-05/0.2086, allocations: 125.7 kB / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.2086, allocations: 29.7 kB / 1.197 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.2087, allocations: 96.09 kB / 1.197 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.2087, allocations: 11.89 kB / 1.197 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.2087, allocations: 33.7 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.2088, allocations: 318.8 kB / 1.197 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.2088, allocations: 27.97 kB / 1.197 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.2089, allocations: 73.98 kB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.209, allocations: 109.8 kB / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.209, allocations: 4 kB / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001677/0.2092, allocations: 137.6 kB / 1.197 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2092, allocations: 6.031 kB / 1.197 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2092, allocations: 4 kB / 1.197 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2092, allocations: 0 / 1.197 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.2093, allocations: 19.92 kB / 1.197 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2093, allocations: 7.984 kB / 1.197 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.961e-05/0.2094, allocations: 7.938 kB / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.2094, allocations: 11.94 kB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 6.922e-05/0.2095, allocations: 125.9 kB / 1.197 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-06/0.2095, allocations: 3.953 kB / 1.197 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.2095, allocations: 16.36 kB / 1.197 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2095, allocations: 0 / 1.197 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2095, allocations: 0 / 1.197 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2095, allocations: 0 / 1.197 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.2098, allocations: 345.5 kB / 1.198 GB, free: 13.33 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2098, allocations: 0 / 1.198 GB, free: 13.33 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.2098, allocations: 15.98 kB / 1.198 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2098, allocations: 4 kB / 1.198 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.2099, allocations: 3.938 kB / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2099, allocations: 3.938 kB / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2099, allocations: 0 / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.21, allocations: 195.8 kB / 1.198 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.21, allocations: 23.88 kB / 1.198 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.21, allocations: 3.938 kB / 1.198 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.894e-05/0.2101, allocations: 4 kB / 1.198 GB, free: 13.06 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.2101, allocations: 7.984 kB / 1.198 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.2101, allocations: 0 / 1.198 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.2101, allocations: 99.27 kB / 1.198 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2101, allocations: 0 / 1.198 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001807/0.2103, allocations: 15.94 kB / 1.198 GB, free: 12.94 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001237/0.2105, allocations: 107.2 kB / 1.198 GB, free: 12.83 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.2106, allocations: 75.88 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2106, allocations: 3.938 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 5.662e-05/0.2107, allocations: 35.97 kB / 1.198 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.2109, allocations: 12.42 kB / 1.198 GB, free: 12.7 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.2112, allocations: 194.8 kB / 1.199 GB, free: 12.48 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.2113, allocations: 0.6884 MB / 1.199 GB, free: 11.77 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.2114, allocations: 15.42 kB / 1.199 GB, free: 11.75 MB / 0.8387 GB Notification: Performance of SimCode: time 3.91e-07/0.2114, allocations: 0 / 1.199 GB, free: 11.75 MB / 0.8387 GB Notification: Performance of Templates: time 0.001833/0.2132, allocations: 1.05 MB / 1.2 GB, free: 10.71 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.754527727141976] Failed to read output from testmodel.py, exit status != 0: 0.21835813205689192 0.226387722 0.018124603 Calling exit ...