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.001038/0.001038, allocations: 100.4 kB / 19.7 MB, free: 448 kB / 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.001112/0.001112, allocations: 216.9 kB / 23 MB, free: 2.988 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 1.022/1.022, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.03713/0.03713, allocations: 12.2 MB / 325.4 MB, free: 6.086 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.0005691/0.0005691, allocations: 27.95 kB / 384.8 MB, free: 10.51 MB / 314.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.959/1.959, allocations: 353.9 MB / 0.7795 GB, free: 4.527 MB / 0.5105 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.00182/0.00182, allocations: 119.7 kB / 1.061 GB, free: 24.35 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3087, allocations: 134.9 MB / 1.193 GB, free: 6.977 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001884/0.3106, allocations: 0.7245 MB / 1.194 GB, free: 6.254 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3118, allocations: 1.11 MB / 1.195 GB, free: 5.133 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.3118, allocations: 4 kB / 1.195 GB, free: 5.129 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.387e-05/0.3119, allocations: 3.938 kB / 1.195 GB, free: 5.125 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.666e-05/0.312, allocations: 15.86 kB / 1.195 GB, free: 5.109 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.3124, allocations: 59.81 kB / 1.195 GB, free: 5.051 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3125, allocations: 67.78 kB / 1.195 GB, free: 4.984 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3126, allocations: 16.17 kB / 1.195 GB, free: 4.965 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.64e-05/0.3127, allocations: 27.92 kB / 1.195 GB, free: 4.938 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.3128, allocations: 31.83 kB / 1.195 GB, free: 4.906 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3128, allocations: 8 kB / 1.195 GB, free: 4.898 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.249e-05/0.3129, allocations: 12 kB / 1.195 GB, free: 4.887 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.3129, allocations: 11.98 kB / 1.195 GB, free: 4.875 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.3129, allocations: 27.86 kB / 1.195 GB, free: 4.848 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.3131, allocations: 91.61 kB / 1.195 GB, free: 4.758 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3131, allocations: 0 / 1.195 GB, free: 4.758 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3131, allocations: 0 / 1.195 GB, free: 4.758 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3131, allocations: 0 / 1.195 GB, free: 4.758 MB / 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.0005534/0.3137, allocations: 306 kB / 1.195 GB, free: 4.43 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3137, allocations: 8.031 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.3138, allocations: 8.891 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.3139, allocations: 110.5 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3139, allocations: 8.375 kB / 1.195 GB, free: 4.273 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3139, allocations: 4.375 kB / 1.195 GB, free: 4.27 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3141, allocations: 74.16 kB / 1.196 GB, free: 4.191 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3141, allocations: 3.938 kB / 1.196 GB, free: 4.188 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3141, allocations: 3.938 kB / 1.196 GB, free: 4.184 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3141, allocations: 4 kB / 1.196 GB, free: 4.18 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.762e-05/0.3142, allocations: 47.89 kB / 1.196 GB, free: 4.133 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.3147, allocations: 260.3 kB / 1.196 GB, free: 3.848 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.3149, allocations: 54.55 kB / 1.196 GB, free: 3.785 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.3149, allocations: 24.97 kB / 1.196 GB, free: 3.758 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.315, allocations: 8 kB / 1.196 GB, free: 3.75 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.3151, allocations: 75.38 kB / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3151, allocations: 0 / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003188/0.3154, allocations: 137.6 kB / 1.196 GB, free: 3.523 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.3155, allocations: 59.41 kB / 1.196 GB, free: 3.453 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.3156, allocations: 121.8 kB / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3156, allocations: 25.7 kB / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.3156, allocations: 92.09 kB / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3157, allocations: 11.91 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.3157, allocations: 33.7 kB / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3158, allocations: 322.8 kB / 1.197 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.3159, allocations: 27.97 kB / 1.197 GB, free: 2.797 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.316, allocations: 77.98 kB / 1.197 GB, free: 2.699 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.3161, allocations: 105.8 kB / 1.197 GB, free: 2.574 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3161, allocations: 4 kB / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001858/0.3163, allocations: 133.5 kB / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3163, allocations: 4 kB / 1.197 GB, free: 2.43 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3163, allocations: 4 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3163, allocations: 0 / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.3164, allocations: 19.92 kB / 1.197 GB, free: 2.406 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.3164, allocations: 8.156 kB / 1.197 GB, free: 2.398 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/0.3165, allocations: 15.92 kB / 1.197 GB, free: 2.383 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3165, allocations: 4 kB / 1.197 GB, free: 2.379 MB / 0.823 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 9.008e-05/0.3166, allocations: 129.7 kB / 1.197 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.3166, allocations: 7.938 kB / 1.197 GB, free: 2.234 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.3166, allocations: 8.375 kB / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3166, allocations: 0 / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3166, allocations: 0 / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3166, allocations: 0 / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.3169, allocations: 326 kB / 1.198 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3169, allocations: 4 kB / 1.198 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.317, allocations: 7.984 kB / 1.198 GB, free: 1.855 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.317, allocations: 4 kB / 1.198 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.317, allocations: 0 / 1.198 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.317, allocations: 0 / 1.198 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.317, allocations: 0 / 1.198 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.3172, allocations: 203.4 kB / 1.198 GB, free: 1.637 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.3172, allocations: 11.95 kB / 1.198 GB, free: 1.625 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3172, allocations: 3.938 kB / 1.198 GB, free: 1.621 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.154e-05/0.3172, allocations: 7.984 kB / 1.198 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.3173, allocations: 0 / 1.198 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.3173, allocations: 15.92 kB / 1.198 GB, free: 1.598 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.3173, allocations: 91.22 kB / 1.198 GB, free: 1.508 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.3173, allocations: 0 / 1.198 GB, free: 1.508 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001806/0.3175, allocations: 23.92 kB / 1.198 GB, free: 1.484 MB / 0.823 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.0001653/0.3177, allocations: 103.2 kB / 1.198 GB, free: 1.375 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.3178, allocations: 79.88 kB / 1.198 GB, free: 1.297 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3179, allocations: 0 / 1.198 GB, free: 1.297 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.673e-05/0.3179, allocations: 31.92 kB / 1.198 GB, free: 1.266 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.3181, allocations: 14.53 kB / 1.198 GB, free: 1.254 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.3185, allocations: 188.2 kB / 1.198 GB, free: 1.035 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.046e-05/0.3186, allocations: 83.27 kB / 1.198 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.3186, allocations: 15.38 kB / 1.198 GB, free: 0.918 MB / 0.823 GB Notification: Performance of SimCode: time 1.332e-06/0.3186, allocations: 0 / 1.198 GB, free: 0.918 MB / 0.823 GB Notification: Performance of Templates: time 0.002725/0.3213, allocations: 1.076 MB / 1.2 GB, free: 15.85 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: 8.397850117646158] Failed to read output from testmodel.py, exit status != 0: 0.33072344306856394 0.342735052 0.027220995 Calling exit ...