Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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: 99.64 kB / 18.95 MB, free: 2.668 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.001566/0.001566, allocations: 210.9 kB / 22.24 MB, free: 5.262 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.987/1.987, allocations: 230.6 MB / 256 MB, free: 7.793 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.06605/0.06605, allocations: 12.19 MB / 324.6 MB, free: 7.062 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.00074/0.00074, allocations: 27.11 kB / 384.1 MB, free: 47.47 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.589/2.589, allocations: 353.9 MB / 0.7787 GB, free: 1.773 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.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [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.003425/0.003425, allocations: 120.1 kB / 1.06 GB, free: 12.61 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2804, allocations: 134.9 MB / 1.192 GB, free: 5.812 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002016/0.2824, allocations: 0.7168 MB / 1.193 GB, free: 5.098 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2838, allocations: 1.114 MB / 1.194 GB, free: 3.973 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.2839, allocations: 0 / 1.194 GB, free: 3.973 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.2839, allocations: 3.938 kB / 1.194 GB, free: 3.969 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.284, allocations: 11.88 kB / 1.194 GB, free: 3.957 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.2843, allocations: 51.81 kB / 1.194 GB, free: 3.906 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.2844, allocations: 67.84 kB / 1.194 GB, free: 3.84 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2845, allocations: 20.09 kB / 1.194 GB, free: 3.816 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.92e-05/0.2846, allocations: 35.86 kB / 1.194 GB, free: 3.781 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.2847, allocations: 31.84 kB / 1.194 GB, free: 3.75 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.2847, allocations: 4 kB / 1.194 GB, free: 3.746 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 5.949e-05/0.2847, allocations: 16 kB / 1.194 GB, free: 3.73 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.2848, allocations: 19.97 kB / 1.194 GB, free: 3.711 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.2848, allocations: 23.86 kB / 1.194 GB, free: 3.688 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.285, allocations: 75.69 kB / 1.194 GB, free: 3.613 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.285, allocations: 4 kB / 1.194 GB, free: 3.609 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.302e-06/0.285, allocations: 0 / 1.194 GB, free: 3.609 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.285, allocations: 0 / 1.194 GB, free: 3.609 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005696/0.2855, allocations: 312.6 kB / 1.195 GB, free: 3.277 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2856, allocations: 15.97 kB / 1.195 GB, free: 3.262 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.2856, allocations: 8.891 kB / 1.195 GB, free: 3.254 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.2857, allocations: 117.6 kB / 1.195 GB, free: 3.117 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2858, allocations: 4.375 kB / 1.195 GB, free: 3.113 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.2858, allocations: 8.375 kB / 1.195 GB, free: 3.105 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.286, allocations: 62.22 kB / 1.195 GB, free: 3.039 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.286, allocations: 7.938 kB / 1.195 GB, free: 3.031 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.286, allocations: 0 / 1.195 GB, free: 3.031 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.286, allocations: 7.938 kB / 1.195 GB, free: 3.023 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.2862, allocations: 47.95 kB / 1.195 GB, free: 2.977 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.2868, allocations: 272.2 kB / 1.195 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.287, allocations: 46.56 kB / 1.195 GB, free: 2.625 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2871, allocations: 28.95 kB / 1.195 GB, free: 2.594 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.2871, allocations: 0 / 1.195 GB, free: 2.594 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.2873, allocations: 83.41 kB / 1.195 GB, free: 2.5 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2873, allocations: 0 / 1.195 GB, free: 2.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0004637/0.2878, allocations: 129.6 kB / 1.195 GB, free: 2.367 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.2878, allocations: 51.41 kB / 1.195 GB, free: 2.305 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2879, allocations: 117.8 kB / 1.196 GB, free: 2.18 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.288, allocations: 33.69 kB / 1.196 GB, free: 2.141 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.288, allocations: 92.09 kB / 1.196 GB, free: 2.047 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.2881, allocations: 23.89 kB / 1.196 GB, free: 2.023 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.2881, allocations: 25.7 kB / 1.196 GB, free: 1.992 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2883, allocations: 330.7 kB / 1.196 GB, free: 1.66 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.2884, allocations: 27.98 kB / 1.196 GB, free: 1.633 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.2885, allocations: 73.97 kB / 1.196 GB, free: 1.539 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.2888, allocations: 105.9 kB / 1.196 GB, free: 1.414 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2888, allocations: 0 / 1.196 GB, free: 1.414 MB / 0.8263 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003149/0.2891, allocations: 133.6 kB / 1.196 GB, free: 1.277 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2891, allocations: 12 kB / 1.196 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2891, allocations: 0 / 1.196 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.2892, allocations: 4 kB / 1.196 GB, free: 1.262 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.2893, allocations: 15.98 kB / 1.196 GB, free: 1.246 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2893, allocations: 0 / 1.196 GB, free: 1.246 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.2894, allocations: 23.86 kB / 1.196 GB, free: 1.223 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2894, allocations: 7.938 kB / 1.196 GB, free: 1.215 MB / 0.8263 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 0.0001061/0.2895, allocations: 118.4 kB / 1.197 GB, free: 1.09 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.2895, allocations: 7.953 kB / 1.197 GB, free: 1.082 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.2895, allocations: 16.36 kB / 1.197 GB, free: 1.062 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2896, allocations: 4 kB / 1.197 GB, free: 1.059 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2896, allocations: 0 / 1.197 GB, free: 1.059 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2896, allocations: 0 / 1.197 GB, free: 1.059 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.29, allocations: 322.3 kB / 1.197 GB, free: 0.707 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.29, allocations: 0 / 1.197 GB, free: 0.707 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.2901, allocations: 11.98 kB / 1.197 GB, free: 0.6953 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2901, allocations: 0 / 1.197 GB, free: 0.6953 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.2901, allocations: 4 kB / 1.197 GB, free: 0.6914 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2901, allocations: 0 / 1.197 GB, free: 0.6914 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2901, allocations: 0 / 1.197 GB, free: 0.6914 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.2904, allocations: 203.4 kB / 1.197 GB, free: 488 kB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.2904, allocations: 11.94 kB / 1.197 GB, free: 476 kB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2904, allocations: 0 / 1.197 GB, free: 476 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.2905, allocations: 19.92 kB / 1.197 GB, free: 456 kB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.2905, allocations: 4 kB / 1.197 GB, free: 452 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.2906, allocations: 3.938 kB / 1.197 GB, free: 448 kB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.81e-05/0.2906, allocations: 99.27 kB / 1.197 GB, free: 348 kB / 0.8263 GB Notification: Performance of sort global known variables: time 6e-08/0.2906, allocations: 0 / 1.197 GB, free: 348 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002476/0.2909, allocations: 19.94 kB / 1.197 GB, free: 328 kB / 0.8263 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.000152/0.291, allocations: 108.1 kB / 1.197 GB, free: 216 kB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002748/0.2913, allocations: 71.88 kB / 1.197 GB, free: 144 kB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2913, allocations: 4.438 kB / 1.197 GB, free: 140 kB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.2914, allocations: 35.92 kB / 1.197 GB, free: 104 kB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.2917, allocations: 11.98 kB / 1.197 GB, free: 92 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.292, allocations: 162.1 kB / 1.198 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.719e-05/0.2921, allocations: 83.02 kB / 1.198 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.2922, allocations: 4 kB / 1.198 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.2922, allocations: 19.38 kB / 1.198 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.2922, allocations: 0 / 1.198 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of Templates: time 0.004062/0.2963, allocations: 1.048 MB / 1.199 GB, free: 14.78 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.926892045885324] Failed to read output from testmodel.py, exit status != 0: 0.30486850813031197 0.32053049100000003 0.032285796 Calling exit ...