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.000746/0.000746, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008579/0.0008579, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9426/0.9426, allocations: 230.6 MB / 256 MB, free: 9.434 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.03618/0.03618, allocations: 12.19 MB / 324.6 MB, free: 6.082 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.0006335/0.0006335, allocations: 23.97 kB / 384.1 MB, free: 10.5 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.683/1.683, allocations: 353.9 MB / 0.7787 GB, free: 4.598 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.002162/0.002162, allocations: 128.7 kB / 1.06 GB, free: 24.86 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2176, allocations: 134.9 MB / 1.192 GB, free: 7.551 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001511/0.2191, allocations: 0.726 MB / 1.192 GB, free: 6.828 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009726/0.2201, allocations: 1.106 MB / 1.193 GB, free: 5.711 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.2201, allocations: 0 / 1.193 GB, free: 5.711 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.2201, allocations: 3.938 kB / 1.193 GB, free: 5.707 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.2202, allocations: 15.88 kB / 1.193 GB, free: 5.691 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.2205, allocations: 55.81 kB / 1.194 GB, free: 5.637 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.462e-05/0.2205, allocations: 67.78 kB / 1.194 GB, free: 5.57 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.608e-05/0.2206, allocations: 20.16 kB / 1.194 GB, free: 5.547 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.2207, allocations: 23.92 kB / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.2208, allocations: 35.84 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.2208, allocations: 4 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.2208, allocations: 12 kB / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.2208, allocations: 23.91 kB / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.2209, allocations: 31.86 kB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.221, allocations: 79.91 kB / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.221, allocations: 0 / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.221, allocations: 0 / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.221, allocations: 3.938 kB / 1.194 GB, free: 5.336 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.0003942/0.2214, allocations: 310 kB / 1.194 GB, free: 5.004 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2214, allocations: 8.031 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.2215, allocations: 30.75 kB / 1.194 GB, free: 4.957 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.2215, allocations: 12.89 kB / 1.194 GB, free: 4.945 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.2216, allocations: 122.5 kB / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2216, allocations: 4.375 kB / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.2216, allocations: 4.375 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.2217, allocations: 77.91 kB / 1.194 GB, free: 4.711 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2217, allocations: 0 / 1.194 GB, free: 4.711 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.2217, allocations: 0 / 1.194 GB, free: 4.711 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2217, allocations: 4 kB / 1.194 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.603e-05/0.2218, allocations: 43.95 kB / 1.194 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.2222, allocations: 291.7 kB / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.2224, allocations: 50.55 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.2224, allocations: 28.95 kB / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.2224, allocations: 0 / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.2226, allocations: 79.41 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2226, allocations: 0 / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002569/0.2228, allocations: 129.6 kB / 1.195 GB, free: 4.023 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.2229, allocations: 55.39 kB / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.2229, allocations: 117.8 kB / 1.195 GB, free: 3.832 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2229, allocations: 29.7 kB / 1.195 GB, free: 3.797 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.223, allocations: 100 kB / 1.195 GB, free: 3.695 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.223, allocations: 19.89 kB / 1.195 GB, free: 3.676 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.223, allocations: 29.7 kB / 1.195 GB, free: 3.641 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.2231, allocations: 318.8 kB / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.2232, allocations: 35.97 kB / 1.196 GB, free: 3.285 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.693e-05/0.2232, allocations: 78.3 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.2234, allocations: 109.9 kB / 1.196 GB, free: 3.059 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2234, allocations: 0 / 1.196 GB, free: 3.059 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001653/0.2235, allocations: 129.4 kB / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2236, allocations: 9.25 kB / 1.196 GB, free: 2.918 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2236, allocations: 0 / 1.196 GB, free: 2.918 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2236, allocations: 7.984 kB / 1.196 GB, free: 2.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.2237, allocations: 24.2 kB / 1.196 GB, free: 2.887 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2237, allocations: 3.938 kB / 1.196 GB, free: 2.883 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.059e-05/0.2237, allocations: 11.94 kB / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2237, allocations: 7.984 kB / 1.196 GB, free: 2.863 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.592e-05/0.2238, allocations: 121.7 kB / 1.196 GB, free: 2.734 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-06/0.2238, allocations: 7.953 kB / 1.196 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.2238, allocations: 8.375 kB / 1.196 GB, free: 2.715 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.2238, allocations: 4 kB / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2238, allocations: 0 / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2238, allocations: 0 / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.2241, allocations: 349.5 kB / 1.196 GB, free: 2.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2241, allocations: 0 / 1.196 GB, free: 2.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.2241, allocations: 7.984 kB / 1.197 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2241, allocations: 0 / 1.197 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2242, allocations: 8 kB / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2242, allocations: 7.938 kB / 1.197 GB, free: 2.297 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2242, allocations: 0 / 1.197 GB, free: 2.297 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.2243, allocations: 207.4 kB / 1.197 GB, free: 2.078 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-06/0.2243, allocations: 3.953 kB / 1.197 GB, free: 2.074 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.2243, allocations: 4 kB / 1.197 GB, free: 2.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.2244, allocations: 11.92 kB / 1.197 GB, free: 2.059 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.2244, allocations: 4 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.2244, allocations: 4 kB / 1.197 GB, free: 2.051 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.2244, allocations: 91.27 kB / 1.197 GB, free: 1.961 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2244, allocations: 0 / 1.197 GB, free: 1.961 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001641/0.2246, allocations: 19.94 kB / 1.197 GB, free: 1.941 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.0003769/0.225, allocations: 0.7397 MB / 1.198 GB, free: 1.176 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.2251, allocations: 79.81 kB / 1.198 GB, free: 1.098 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2251, allocations: 0 / 1.198 GB, free: 1.098 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.864e-05/0.2252, allocations: 36.41 kB / 1.198 GB, free: 1.062 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.2254, allocations: 12.64 kB / 1.198 GB, free: 1.051 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2265, allocations: 1.523 MB / 1.199 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.323e-05/0.2265, allocations: 85.02 kB / 1.199 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.2266, allocations: 4 kB / 1.199 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.2266, allocations: 23.42 kB / 1.199 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of SimCode: time 7.32e-07/0.2266, allocations: 3.938 kB / 1.199 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.2431, allocations: 2.688 MB / 1.202 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.524/6.767, allocations: 3.938 kB / 1.202 GB, free: 12.74 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: 11.095913290046155] Failed to read output from testmodel.py, exit status != 0: 6.847556530497968 6.861840657 6.638422627 Calling exit ...