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.001168/0.001168, allocations: 101.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.001292/0.001292, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9333/0.9333, 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.03671/0.03671, 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.0004031/0.0004031, allocations: 35.94 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.706/1.706, allocations: 353.8 MB / 0.7787 GB, free: 4.574 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.001461/0.001461, allocations: 118.5 kB / 1.06 GB, free: 24.83 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2142, allocations: 134.9 MB / 1.192 GB, free: 7.535 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001458/0.2157, allocations: 0.7223 MB / 1.192 GB, free: 6.816 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2167, allocations: 1.203 MB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.2168, allocations: 0 / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.2168, allocations: 15.88 kB / 1.194 GB, free: 5.586 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.2169, allocations: 7.922 kB / 1.194 GB, free: 5.578 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.2173, allocations: 143.1 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.2174, allocations: 123.8 kB / 1.194 GB, free: 5.32 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.2175, allocations: 16.17 kB / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.2176, allocations: 51.89 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.2177, allocations: 39.83 kB / 1.194 GB, free: 5.211 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.2177, allocations: 12 kB / 1.194 GB, free: 5.199 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.024e-05/0.2178, allocations: 31.98 kB / 1.194 GB, free: 5.168 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.2178, allocations: 19.97 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.2178, allocations: 43.84 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.218, allocations: 127.8 kB / 1.194 GB, free: 4.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.218, allocations: 4 kB / 1.194 GB, free: 4.977 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.583e-06/0.218, allocations: 0 / 1.194 GB, free: 4.977 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.218, allocations: 0 / 1.194 GB, free: 4.977 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.0004661/0.2185, allocations: 339.8 kB / 1.194 GB, free: 4.609 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2185, allocations: 8.031 kB / 1.194 GB, free: 4.602 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.573e-05/0.2186, allocations: 34.73 kB / 1.195 GB, free: 4.559 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.882e-05/0.2186, allocations: 20.89 kB / 1.195 GB, free: 4.539 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.2187, allocations: 126.3 kB / 1.195 GB, free: 4.391 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2187, allocations: 8.359 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.2187, allocations: 16.36 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.2189, allocations: 77.91 kB / 1.195 GB, free: 4.285 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.2189, allocations: 0 / 1.195 GB, free: 4.285 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.2189, allocations: 0 / 1.195 GB, free: 4.285 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2189, allocations: 0 / 1.195 GB, free: 4.285 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.219, allocations: 47.95 kB / 1.195 GB, free: 4.238 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.2194, allocations: 295.7 kB / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.2195, allocations: 54.55 kB / 1.195 GB, free: 3.844 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.2196, allocations: 36.95 kB / 1.195 GB, free: 3.805 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.2196, allocations: 0 / 1.195 GB, free: 3.805 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.2197, allocations: 87.39 kB / 1.195 GB, free: 3.707 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.2197, allocations: 4 kB / 1.195 GB, free: 3.703 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0002767/0.22, allocations: 149.6 kB / 1.195 GB, free: 3.551 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.22, allocations: 55.41 kB / 1.195 GB, free: 3.484 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.2201, allocations: 117.8 kB / 1.196 GB, free: 3.359 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.2201, allocations: 33.7 kB / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.2202, allocations: 92.09 kB / 1.196 GB, free: 3.227 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.2202, allocations: 23.83 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.2202, allocations: 41.7 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.2203, allocations: 322.8 kB / 1.196 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.2204, allocations: 81.67 kB / 1.196 GB, free: 2.746 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.2205, allocations: 126.7 kB / 1.196 GB, free: 2.598 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.2207, allocations: 142.8 kB / 1.196 GB, free: 2.434 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2207, allocations: 8 kB / 1.196 GB, free: 2.426 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002555/0.2209, allocations: 244.8 kB / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.2211, allocations: 41.62 kB / 1.197 GB, free: 2.121 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.2211, allocations: 0 / 1.197 GB, free: 2.121 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2211, allocations: 4 kB / 1.197 GB, free: 2.117 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.2212, allocations: 11.98 kB / 1.197 GB, free: 2.105 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2212, allocations: 12.09 kB / 1.197 GB, free: 2.094 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.2213, allocations: 39.91 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.2213, allocations: 11.94 kB / 1.197 GB, free: 2.043 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.624e-05/0.2214, allocations: 120 kB / 1.197 GB, free: 1.918 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-06/0.2214, allocations: 7.953 kB / 1.197 GB, free: 1.91 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.2216, allocations: 129.9 kB / 1.197 GB, free: 1.773 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.2216, allocations: 8 kB / 1.197 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2216, allocations: 0 / 1.197 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2216, allocations: 0 / 1.197 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.2218, allocations: 341.5 kB / 1.197 GB, free: 1.383 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2218, allocations: 0 / 1.197 GB, free: 1.383 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.2218, allocations: 11.98 kB / 1.197 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2218, allocations: 0 / 1.197 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.2218, allocations: 8 kB / 1.197 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2218, allocations: 7.938 kB / 1.197 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2219, allocations: 3.938 kB / 1.197 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.222, allocations: 215.4 kB / 1.198 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.222, allocations: 3.953 kB / 1.198 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.222, allocations: 4 kB / 1.198 GB, free: 1.117 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.2221, allocations: 15.86 kB / 1.198 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.2221, allocations: 4 kB / 1.198 GB, free: 1.098 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2221, allocations: 7.984 kB / 1.198 GB, free: 1.09 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.2221, allocations: 87.28 kB / 1.198 GB, free: 1.004 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.2221, allocations: 4 kB / 1.198 GB, free: 1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001706/0.2223, allocations: 23.98 kB / 1.198 GB, free: 0.9766 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.0003644/0.2227, allocations: 0.752 MB / 1.198 GB, free: 204 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.2229, allocations: 197 kB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.2229, allocations: 320 / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/0.223, allocations: 43.92 kB / 1.199 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.2232, allocations: 19.92 kB / 1.199 GB, free: 15.92 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.2248, allocations: 1.832 MB / 1.2 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.604e-05/0.2248, allocations: 76.3 kB / 1.201 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.2249, allocations: 8.125 kB / 1.201 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.2249, allocations: 19.44 kB / 1.201 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of SimCode: time 6.32e-07/0.2249, allocations: 0 / 1.201 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.2425, allocations: 3.236 MB / 1.204 GB, free: 10.75 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.566/6.808, allocations: 5.156 kB / 1.204 GB, free: 10.75 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.197596900165081] Failed to read output from testmodel.py, exit status != 0: 6.8882052740082145 6.897070298 6.677452712 Calling exit ...