Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0008169/0.0008169, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009791/0.0009791, allocations: 213.8 kB / 22.26 MB, free: 3.703 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.9696/0.9696, allocations: 230.6 MB / 256 MB, free: 9.828 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.04066/0.04066, allocations: 12.18 MB / 324.6 MB, free: 6.312 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.0004241/0.0004241, allocations: 31.7 kB / 384.1 MB, free: 10.72 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.757/1.757, allocations: 353.8 MB / 0.7787 GB, free: 3.184 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: "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [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.001791/0.001791, allocations: 120.8 kB / 1.06 GB, free: 25.01 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2419, allocations: 134.9 MB / 1.192 GB, free: 7.949 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001557/0.2434, allocations: 0.7303 MB / 1.192 GB, free: 7.223 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2446, allocations: 1.133 MB / 1.194 GB, free: 6.078 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.2446, allocations: 0 / 1.194 GB, free: 6.078 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.2447, allocations: 7.875 kB / 1.194 GB, free: 6.07 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.2447, allocations: 15.86 kB / 1.194 GB, free: 6.055 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.2451, allocations: 55.77 kB / 1.194 GB, free: 6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2452, allocations: 67.84 kB / 1.194 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.2453, allocations: 20.14 kB / 1.194 GB, free: 5.91 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.2454, allocations: 31.86 kB / 1.194 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.2454, allocations: 35.84 kB / 1.194 GB, free: 5.844 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2454, allocations: 4 kB / 1.194 GB, free: 5.84 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.2455, allocations: 27.97 kB / 1.194 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.2455, allocations: 19.92 kB / 1.194 GB, free: 5.793 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.2455, allocations: 23.88 kB / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.2457, allocations: 79.95 kB / 1.194 GB, free: 5.691 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2457, allocations: 4 kB / 1.194 GB, free: 5.688 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2457, allocations: 0 / 1.194 GB, free: 5.688 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.2457, allocations: 0 / 1.194 GB, free: 5.688 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.0004278/0.2461, allocations: 298 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2462, allocations: 12.03 kB / 1.194 GB, free: 5.355 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.2462, allocations: 42.73 kB / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.2462, allocations: 12.83 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/0.2463, allocations: 114.4 kB / 1.194 GB, free: 5.156 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2463, allocations: 8.375 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2464, allocations: 4.375 kB / 1.194 GB, free: 5.145 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.2465, allocations: 69.97 kB / 1.195 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2465, allocations: 0 / 1.195 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2465, allocations: 0 / 1.195 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2465, allocations: 0 / 1.195 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.107e-05/0.2466, allocations: 55.89 kB / 1.195 GB, free: 5.016 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.2471, allocations: 295.7 kB / 1.195 GB, free: 4.684 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.2472, allocations: 50.64 kB / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.2473, allocations: 32.91 kB / 1.195 GB, free: 4.59 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.2473, allocations: 8 kB / 1.195 GB, free: 4.582 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.2475, allocations: 75.36 kB / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.2475, allocations: 0 / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002725/0.2478, allocations: 129.6 kB / 1.195 GB, free: 4.363 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.2478, allocations: 59.39 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.2479, allocations: 125.8 kB / 1.195 GB, free: 4.16 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.2479, allocations: 33.64 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.2479, allocations: 88.09 kB / 1.195 GB, free: 4.031 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.248, allocations: 19.89 kB / 1.195 GB, free: 4.012 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.248, allocations: 29.7 kB / 1.195 GB, free: 3.977 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.2481, allocations: 322.8 kB / 1.196 GB, free: 3.652 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.2482, allocations: 31.97 kB / 1.196 GB, free: 3.621 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.008e-05/0.2482, allocations: 73.92 kB / 1.196 GB, free: 3.527 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.2484, allocations: 109.8 kB / 1.196 GB, free: 3.398 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2484, allocations: 0 / 1.196 GB, free: 3.398 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000178/0.2486, allocations: 133.5 kB / 1.196 GB, free: 3.262 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2486, allocations: 8 kB / 1.196 GB, free: 3.254 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2486, allocations: 0 / 1.196 GB, free: 3.254 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2486, allocations: 4 kB / 1.196 GB, free: 3.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.149e-05/0.2487, allocations: 19.97 kB / 1.196 GB, free: 3.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.2487, allocations: 7.938 kB / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.2487, allocations: 12.16 kB / 1.196 GB, free: 3.211 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.2488, allocations: 4 kB / 1.196 GB, free: 3.207 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 0.0002515/0.249, allocations: 125.8 kB / 1.196 GB, free: 3.074 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.249, allocations: 7.953 kB / 1.196 GB, free: 3.066 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.249, allocations: 8.375 kB / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.249, allocations: 0 / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2491, allocations: 0 / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2491, allocations: 0 / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.2494, allocations: 357.4 kB / 1.197 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2494, allocations: 0 / 1.197 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.2494, allocations: 7.984 kB / 1.197 GB, free: 2.648 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2494, allocations: 0 / 1.197 GB, free: 2.648 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2494, allocations: 4 kB / 1.197 GB, free: 2.645 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2494, allocations: 3.938 kB / 1.197 GB, free: 2.641 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2494, allocations: 0 / 1.197 GB, free: 2.641 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.2496, allocations: 199.4 kB / 1.197 GB, free: 2.43 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.2496, allocations: 7.953 kB / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.2496, allocations: 0 / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.535e-05/0.2497, allocations: 19.92 kB / 1.197 GB, free: 2.402 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.2497, allocations: 7.984 kB / 1.197 GB, free: 2.395 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.2497, allocations: 0 / 1.197 GB, free: 2.395 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.658e-05/0.2498, allocations: 91.92 kB / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2498, allocations: 4 kB / 1.197 GB, free: 2.301 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001751/0.2499, allocations: 27.88 kB / 1.197 GB, free: 2.273 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.000423/0.2504, allocations: 0.7399 MB / 1.198 GB, free: 1.508 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.2505, allocations: 79.83 kB / 1.198 GB, free: 1.43 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2505, allocations: 0 / 1.198 GB, free: 1.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/0.2506, allocations: 35.97 kB / 1.198 GB, free: 1.395 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.2508, allocations: 9.656 kB / 1.198 GB, free: 1.387 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.252, allocations: 1.524 MB / 1.199 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.2522, allocations: 0.6885 MB / 1.2 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.629e-05/0.2522, allocations: 8 kB / 1.2 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.2523, allocations: 23.42 kB / 1.2 GB, free: 15 MB / 0.8387 GB Notification: Performance of SimCode: time 9.42e-07/0.2523, allocations: 0 / 1.2 GB, free: 15 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.2757, allocations: 2.248 MB / 1.202 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/6.947, allocations: 4.062 kB / 1.202 GB, free: 12.89 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv --start-time -2 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.570317306555808] Failed to read output from testmodel.py, exit status != 0: 7.030812113545835 7.042942443 6.794576512 Calling exit ...