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.0009405/0.0009405, allocations: 109.3 kB / 18.93 MB, free: 1.266 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.001135/0.001135, allocations: 214.3 kB / 22.25 MB, free: 3.707 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.003/1.003, allocations: 230.6 MB / 256 MB, free: 9.82 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.04108/0.04108, allocations: 12.17 MB / 324.6 MB, free: 6.273 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.0004409/0.0004409, allocations: 31.88 kB / 384.1 MB, free: 10.68 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.677/1.677, allocations: 353.8 MB / 0.7787 GB, free: 3.191 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.001399/0.001399, allocations: 123.3 kB / 1.06 GB, free: 25.07 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2171, allocations: 134.9 MB / 1.192 GB, free: 7.887 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001591/0.2187, allocations: 0.7362 MB / 1.192 GB, free: 7.152 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2197, allocations: 1.133 MB / 1.194 GB, free: 6.008 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.2197, allocations: 3.938 kB / 1.194 GB, free: 6.004 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.2198, allocations: 7.922 kB / 1.194 GB, free: 5.996 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.2198, allocations: 11.88 kB / 1.194 GB, free: 5.984 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.2201, allocations: 51.83 kB / 1.194 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2202, allocations: 71.83 kB / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.2203, allocations: 12.17 kB / 1.194 GB, free: 5.848 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.2204, allocations: 35.8 kB / 1.194 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.2205, allocations: 31.91 kB / 1.194 GB, free: 5.781 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.2205, allocations: 8 kB / 1.194 GB, free: 5.773 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.364e-05/0.2205, allocations: 19.98 kB / 1.194 GB, free: 5.754 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.2206, allocations: 23.91 kB / 1.194 GB, free: 5.73 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.2206, allocations: 27.86 kB / 1.194 GB, free: 5.703 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.2207, allocations: 75.97 kB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2207, allocations: 0 / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2207, allocations: 0 / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2207, allocations: 0 / 1.194 GB, free: 5.629 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.0004282/0.2212, allocations: 314 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 7.674e-05/0.2212, allocations: 12.03 kB / 1.194 GB, free: 5.281 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.2213, allocations: 34.73 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.2213, allocations: 8.891 kB / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/0.2214, allocations: 114.4 kB / 1.194 GB, free: 5.094 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2214, allocations: 8.375 kB / 1.194 GB, free: 5.086 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.2215, allocations: 4.375 kB / 1.194 GB, free: 5.082 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.2216, allocations: 69.91 kB / 1.195 GB, free: 5.008 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2216, allocations: 4 kB / 1.195 GB, free: 5.004 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.2216, allocations: 8 kB / 1.195 GB, free: 4.996 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2216, allocations: 0 / 1.195 GB, free: 4.996 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.64e-05/0.2217, allocations: 43.89 kB / 1.195 GB, free: 4.953 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.2221, allocations: 295.7 kB / 1.195 GB, free: 4.621 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.2223, allocations: 58.55 kB / 1.195 GB, free: 4.555 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.2224, allocations: 36.98 kB / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2224, allocations: 0 / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.2225, allocations: 75.38 kB / 1.195 GB, free: 4.43 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.2225, allocations: 0 / 1.195 GB, free: 4.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002368/0.2227, allocations: 125.6 kB / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.2228, allocations: 59.39 kB / 1.195 GB, free: 4.23 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.443e-05/0.2228, allocations: 121.8 kB / 1.195 GB, free: 4.102 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.2228, allocations: 25.7 kB / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.2229, allocations: 100.1 kB / 1.195 GB, free: 3.969 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.2229, allocations: 15.91 kB / 1.195 GB, free: 3.953 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.2229, allocations: 33.7 kB / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002775/0.2232, allocations: 322.8 kB / 1.196 GB, free: 3.59 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/0.2233, allocations: 27.97 kB / 1.196 GB, free: 3.562 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.2233, allocations: 73.92 kB / 1.196 GB, free: 3.469 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.2235, allocations: 109.9 kB / 1.196 GB, free: 3.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2235, allocations: 3.938 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001605/0.2236, allocations: 129.5 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2236, allocations: 8 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2236, allocations: 0 / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2236, allocations: 7.984 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.2237, allocations: 20.2 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2237, allocations: 3.938 kB / 1.196 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.779e-05/0.2238, allocations: 15.92 kB / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2238, allocations: 8 kB / 1.196 GB, free: 3.141 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 6.178e-05/0.2238, allocations: 117.8 kB / 1.196 GB, free: 3.016 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-06/0.2238, allocations: 7.953 kB / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.2239, allocations: 8.375 kB / 1.196 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2239, allocations: 4 kB / 1.196 GB, free: 2.992 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2239, allocations: 4 kB / 1.196 GB, free: 2.988 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2239, allocations: 0 / 1.196 GB, free: 2.988 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.2242, allocations: 349.4 kB / 1.197 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2242, allocations: 4 kB / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.2242, allocations: 7.984 kB / 1.197 GB, free: 2.586 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.2242, allocations: 3.938 kB / 1.197 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.2243, allocations: 0 / 1.197 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2243, allocations: 3.938 kB / 1.197 GB, free: 2.578 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2243, allocations: 8 kB / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.2244, allocations: 195.4 kB / 1.197 GB, free: 2.363 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.2244, allocations: 7.953 kB / 1.197 GB, free: 2.355 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.2244, allocations: 4 kB / 1.197 GB, free: 2.352 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.2245, allocations: 11.92 kB / 1.197 GB, free: 2.34 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.2245, allocations: 4 kB / 1.197 GB, free: 2.336 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.2245, allocations: 11.98 kB / 1.197 GB, free: 2.324 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.2245, allocations: 95.81 kB / 1.197 GB, free: 2.23 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2245, allocations: 0 / 1.197 GB, free: 2.23 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001773/0.2247, allocations: 23.92 kB / 1.197 GB, free: 2.207 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.0004329/0.2251, allocations: 0.7454 MB / 1.198 GB, free: 1.438 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.2253, allocations: 71.89 kB / 1.198 GB, free: 1.367 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.2253, allocations: 0 / 1.198 GB, free: 1.367 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.833e-05/0.2254, allocations: 28.52 kB / 1.198 GB, free: 1.34 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.2256, allocations: 25.56 kB / 1.198 GB, free: 1.316 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.2267, allocations: 1.511 MB / 1.199 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.2269, allocations: 0.6963 MB / 1.2 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.2269, allocations: 7.938 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.227, allocations: 27.42 kB / 1.2 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of SimCode: time 5.21e-07/0.227, allocations: 0 / 1.2 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.2417, allocations: 2.234 MB / 1.202 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.226/6.468, allocations: 9.062 kB / 1.202 GB, free: 12.83 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 10.871863964945078] Failed to read output from testmodel.py, exit status != 0: 6.543245712295175 6.552477994 6.3298859069999995 Calling exit ...