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.001077/0.001077, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001006/0.001006, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9891/0.9891, allocations: 230.6 MB / 256 MB, free: 9.594 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.03687/0.03687, allocations: 12.18 MB / 324.6 MB, free: 6.094 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.0004898/0.0004898, allocations: 27.94 kB / 384.1 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.682/1.682, allocations: 353.8 MB / 0.7787 GB, free: 4.625 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.SampleTrigger,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.00147/0.00147, allocations: 119.2 kB / 1.06 GB, free: 24.83 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2275, allocations: 134.9 MB / 1.192 GB, free: 7.535 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001609/0.2291, allocations: 0.7183 MB / 1.192 GB, free: 6.82 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2302, allocations: 1.11 MB / 1.193 GB, free: 5.699 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.2302, allocations: 4 kB / 1.193 GB, free: 5.695 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.2303, allocations: 7.922 kB / 1.193 GB, free: 5.688 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.2304, allocations: 11.86 kB / 1.193 GB, free: 5.676 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.2307, allocations: 51.84 kB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.2308, allocations: 83.75 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.231, allocations: 8.188 kB / 1.194 GB, free: 5.531 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.398e-05/0.231, allocations: 27.92 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.2311, allocations: 31.83 kB / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.2311, allocations: 8 kB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.984e-05/0.2312, allocations: 19.98 kB / 1.194 GB, free: 5.445 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.2312, allocations: 7.984 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.2312, allocations: 27.86 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.2314, allocations: 83.91 kB / 1.194 GB, free: 5.328 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2314, allocations: 0 / 1.194 GB, free: 5.328 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2314, allocations: 0 / 1.194 GB, free: 5.328 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2314, allocations: 4 kB / 1.194 GB, free: 5.324 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.0006064/0.232, allocations: 302 kB / 1.194 GB, free: 5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.232, allocations: 12.03 kB / 1.194 GB, free: 4.988 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.2321, allocations: 38.73 kB / 1.194 GB, free: 4.941 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.2321, allocations: 8.891 kB / 1.194 GB, free: 4.934 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.058e-05/0.2322, allocations: 118.4 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2322, allocations: 4.375 kB / 1.194 GB, free: 4.789 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.2322, allocations: 12.36 kB / 1.194 GB, free: 4.777 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.2324, allocations: 77.84 kB / 1.194 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2324, allocations: 4 kB / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.2324, allocations: 0 / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.2324, allocations: 0 / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.15e-05/0.2325, allocations: 43.95 kB / 1.194 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.233, allocations: 283.7 kB / 1.195 GB, free: 4.328 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.2331, allocations: 50.55 kB / 1.195 GB, free: 4.27 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.2331, allocations: 32.97 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.2332, allocations: 4 kB / 1.195 GB, free: 4.23 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.2334, allocations: 75.47 kB / 1.195 GB, free: 4.145 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.2334, allocations: 3.938 kB / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003409/0.2337, allocations: 125.6 kB / 1.195 GB, free: 4.012 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.2338, allocations: 63.41 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.2339, allocations: 121.8 kB / 1.195 GB, free: 3.809 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.2339, allocations: 25.7 kB / 1.195 GB, free: 3.777 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.2339, allocations: 92.09 kB / 1.195 GB, free: 3.684 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.234, allocations: 15.89 kB / 1.195 GB, free: 3.668 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.234, allocations: 33.7 kB / 1.195 GB, free: 3.629 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2341, allocations: 318.8 kB / 1.196 GB, free: 3.309 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.2342, allocations: 27.97 kB / 1.196 GB, free: 3.281 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.2343, allocations: 78.36 kB / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.2344, allocations: 109.8 kB / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2344, allocations: 4 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002026/0.2346, allocations: 133.5 kB / 1.196 GB, free: 2.914 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2347, allocations: 4 kB / 1.196 GB, free: 2.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2347, allocations: 3.938 kB / 1.196 GB, free: 2.906 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.2347, allocations: 4 kB / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.2348, allocations: 19.98 kB / 1.196 GB, free: 2.883 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2348, allocations: 7.984 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.2348, allocations: 8.156 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.2349, allocations: 8 kB / 1.196 GB, free: 2.859 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 7.355e-05/0.2349, allocations: 135.7 kB / 1.196 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.2349, allocations: 3.953 kB / 1.196 GB, free: 2.715 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.235, allocations: 12.38 kB / 1.196 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.235, allocations: 0 / 1.196 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.235, allocations: 0 / 1.196 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.235, allocations: 0 / 1.196 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.2353, allocations: 349.7 kB / 1.196 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2353, allocations: 4 kB / 1.196 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.2353, allocations: 8 kB / 1.196 GB, free: 2.297 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2353, allocations: 0 / 1.196 GB, free: 2.297 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2353, allocations: 0 / 1.196 GB, free: 2.297 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2353, allocations: 7.922 kB / 1.197 GB, free: 2.289 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2353, allocations: 80 / 1.197 GB, free: 2.289 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.2355, allocations: 195.5 kB / 1.197 GB, free: 2.082 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.2355, allocations: 7.953 kB / 1.197 GB, free: 2.074 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.2355, allocations: 3.984 kB / 1.197 GB, free: 2.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.2356, allocations: 15.94 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.2356, allocations: 11.92 kB / 1.197 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.2356, allocations: 0 / 1.197 GB, free: 2.043 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.2356, allocations: 99.42 kB / 1.197 GB, free: 1.945 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2356, allocations: 0 / 1.197 GB, free: 1.945 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001796/0.2358, allocations: 19.94 kB / 1.197 GB, free: 1.926 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.0004061/0.2362, allocations: 0.7397 MB / 1.198 GB, free: 1.16 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.2364, allocations: 79.81 kB / 1.198 GB, free: 1.082 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2364, allocations: 0 / 1.198 GB, free: 1.082 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.939e-05/0.2365, allocations: 31.97 kB / 1.198 GB, free: 1.051 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.2367, allocations: 15.94 kB / 1.198 GB, free: 1.035 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.238, allocations: 1.524 MB / 1.199 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.882e-05/0.238, allocations: 76.84 kB / 1.199 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.127e-05/0.2381, allocations: 11.98 kB / 1.199 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.2381, allocations: 23.44 kB / 1.199 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of SimCode: time 1.163e-06/0.2381, allocations: 0 / 1.199 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.2555, allocations: 2.68 MB / 1.202 GB, free: 12.73 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.588/6.844, allocations: 5.859 kB / 1.202 GB, free: 12.73 MB / 0.8387 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.244140818715096] Failed to read output from testmodel.py, exit status != 0: 6.921449538320303 6.931357126 6.69795722 Calling exit ...