Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0008445/0.0008445, allocations: 109.9 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.0009255/0.0009255, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.023/1.023, allocations: 230.6 MB / 256 MB, free: 9.629 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.0371/0.0371, allocations: 12.18 MB / 324.6 MB, free: 6.281 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.000411/0.000411, allocations: 35.7 kB / 384.1 MB, free: 10.69 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.738/1.738, allocations: 353.8 MB / 0.7787 GB, free: 3.113 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.Discrete.Validation.TriggeredSampler,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",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.001585/0.001585, allocations: 123.1 kB / 1.06 GB, free: 25.11 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2129, allocations: 134.9 MB / 1.192 GB, free: 7.961 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001643/0.2145, allocations: 0.7574 MB / 1.192 GB, free: 7.207 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2158, allocations: 1.223 MB / 1.194 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.2159, allocations: 0 / 1.194 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.2159, allocations: 15.86 kB / 1.194 GB, free: 5.957 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.216, allocations: 7.875 kB / 1.194 GB, free: 5.949 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.2164, allocations: 137.9 kB / 1.194 GB, free: 5.816 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.2166, allocations: 123.8 kB / 1.194 GB, free: 5.695 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.2168, allocations: 16.17 kB / 1.194 GB, free: 5.676 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.2169, allocations: 51.84 kB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.322e-05/0.2169, allocations: 51.86 kB / 1.194 GB, free: 5.574 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.217, allocations: 12 kB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.217, allocations: 31.98 kB / 1.194 GB, free: 5.531 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.2171, allocations: 11.94 kB / 1.194 GB, free: 5.52 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.2171, allocations: 51.83 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.2173, allocations: 135.7 kB / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2173, allocations: 0 / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2173, allocations: 4 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.2173, allocations: 0 / 1.194 GB, free: 5.332 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004983/0.2178, allocations: 343.8 kB / 1.195 GB, free: 4.961 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2178, allocations: 8.031 kB / 1.195 GB, free: 4.953 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.339e-05/0.2178, allocations: 30.75 kB / 1.195 GB, free: 4.914 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.811e-05/0.2179, allocations: 16.83 kB / 1.195 GB, free: 4.898 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.623e-05/0.218, allocations: 126.4 kB / 1.195 GB, free: 4.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.218, allocations: 4.375 kB / 1.195 GB, free: 4.746 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.218, allocations: 8.375 kB / 1.195 GB, free: 4.738 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.2182, allocations: 77.91 kB / 1.195 GB, free: 4.656 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.2182, allocations: 0 / 1.195 GB, free: 4.656 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.2182, allocations: 4 kB / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2182, allocations: 0 / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.2183, allocations: 43.95 kB / 1.195 GB, free: 4.609 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.2187, allocations: 323.7 kB / 1.195 GB, free: 4.25 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.2188, allocations: 54.55 kB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.2189, allocations: 28.97 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2189, allocations: 4 kB / 1.195 GB, free: 4.152 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.2191, allocations: 91.39 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.2191, allocations: 0 / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003269/0.2194, allocations: 149.6 kB / 1.196 GB, free: 3.898 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.2194, allocations: 51.41 kB / 1.196 GB, free: 3.836 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.2195, allocations: 125.8 kB / 1.196 GB, free: 3.703 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.2195, allocations: 29.7 kB / 1.196 GB, free: 3.668 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.2196, allocations: 104 kB / 1.196 GB, free: 3.562 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.2196, allocations: 19.84 kB / 1.196 GB, free: 3.543 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.2197, allocations: 45.69 kB / 1.196 GB, free: 3.492 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.2197, allocations: 318.8 kB / 1.196 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.573e-05/0.2198, allocations: 55.89 kB / 1.196 GB, free: 3.117 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.22, allocations: 93.11 kB / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.2202, allocations: 150.8 kB / 1.197 GB, free: 2.836 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2202, allocations: 0 / 1.197 GB, free: 2.836 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002461/0.2204, allocations: 215.1 kB / 1.197 GB, free: 2.613 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.2204, allocations: 37.69 kB / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2204, allocations: 4.156 kB / 1.197 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2204, allocations: 4 kB / 1.197 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.2205, allocations: 19.92 kB / 1.197 GB, free: 2.543 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2205, allocations: 4 kB / 1.197 GB, free: 2.539 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.606e-05/0.2206, allocations: 31.92 kB / 1.197 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.2206, allocations: 11.92 kB / 1.197 GB, free: 2.496 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.464e-05/0.2207, allocations: 125.8 kB / 1.197 GB, free: 2.363 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.2207, allocations: 11.89 kB / 1.197 GB, free: 2.352 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.2209, allocations: 125.9 kB / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2209, allocations: 0 / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2209, allocations: 0 / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.221, allocations: 0 / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.2212, allocations: 353.5 kB / 1.197 GB, free: 1.824 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2212, allocations: 0 / 1.197 GB, free: 1.824 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.2212, allocations: 15.92 kB / 1.197 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2212, allocations: 0 / 1.197 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.2212, allocations: 0 / 1.197 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2212, allocations: 7.938 kB / 1.197 GB, free: 1.801 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2212, allocations: 0 / 1.197 GB, free: 1.801 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.2214, allocations: 219.5 kB / 1.198 GB, free: 1.57 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.2214, allocations: 11.94 kB / 1.198 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.2214, allocations: 0 / 1.198 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.2215, allocations: 15.86 kB / 1.198 GB, free: 1.543 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.2215, allocations: 8 kB / 1.198 GB, free: 1.535 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.2216, allocations: 7.984 kB / 1.198 GB, free: 1.527 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.2216, allocations: 87.28 kB / 1.198 GB, free: 1.441 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2216, allocations: 0 / 1.198 GB, free: 1.441 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001724/0.2218, allocations: 31.98 kB / 1.198 GB, free: 1.41 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003539/0.2221, allocations: 0.7426 MB / 1.199 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.2224, allocations: 171.3 kB / 1.199 GB, free: 476 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2224, allocations: 0 / 1.199 GB, free: 476 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.198e-05/0.2225, allocations: 43.89 kB / 1.199 GB, free: 432 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.2227, allocations: 21.81 kB / 1.199 GB, free: 412 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.2241, allocations: 1.701 MB / 1.2 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.2242, allocations: 0.7001 MB / 1.201 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.2243, allocations: 4 kB / 1.201 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.2243, allocations: 23.36 kB / 1.201 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of SimCode: time 6.31e-07/0.2243, allocations: 4 kB / 1.201 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.2449, allocations: 2.705 MB / 1.204 GB, free: 11.27 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.372/6.616, allocations: 6.297 kB / 1.204 GB, free: 11.26 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.087332256138325] Failed to read output from testmodel.py, exit status != 0: 6.692953081801534 6.703883902 6.484541645 Calling exit ...