Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.0008427/0.0008427, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001136/0.001136, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9952/0.9952, allocations: 230.6 MB / 256 MB, free: 9.805 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.04064/0.04064, allocations: 12.18 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.0004774/0.0004774, allocations: 27.89 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.727/1.727, allocations: 353.8 MB / 0.7787 GB, free: 3.121 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.SampleTriggerPositiveStartTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",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.001408/0.001408, allocations: 123.5 kB / 1.06 GB, free: 25.07 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2344, allocations: 134.9 MB / 1.192 GB, free: 7.879 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001683/0.2361, allocations: 0.7337 MB / 1.192 GB, free: 7.148 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2373, allocations: 1.137 MB / 1.194 GB, free: 6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.2374, allocations: 0 / 1.194 GB, free: 6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.2374, allocations: 3.938 kB / 1.194 GB, free: 5.996 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.2375, allocations: 11.81 kB / 1.194 GB, free: 5.984 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.2378, allocations: 59.81 kB / 1.194 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2379, allocations: 63.84 kB / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.2381, allocations: 20.16 kB / 1.194 GB, free: 5.84 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.526e-05/0.2381, allocations: 27.92 kB / 1.194 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/0.2382, allocations: 35.84 kB / 1.194 GB, free: 5.777 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.2382, allocations: 8 kB / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-05/0.2383, allocations: 15.98 kB / 1.194 GB, free: 5.754 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.2383, allocations: 19.92 kB / 1.194 GB, free: 5.734 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.2383, allocations: 27.86 kB / 1.194 GB, free: 5.707 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.2385, allocations: 79.91 kB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2385, allocations: 0 / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2385, allocations: 0 / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2385, 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.0005055/0.239, allocations: 314 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.239, allocations: 8.031 kB / 1.194 GB, free: 5.285 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.239, allocations: 42.69 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.2391, allocations: 8.891 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.476e-05/0.2392, allocations: 118.5 kB / 1.194 GB, free: 5.086 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2392, allocations: 384 / 1.194 GB, free: 5.086 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.2392, allocations: 4.375 kB / 1.194 GB, free: 5.082 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.2393, allocations: 77.92 kB / 1.195 GB, free: 5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2393, allocations: 0 / 1.195 GB, free: 5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2394, allocations: 7.984 kB / 1.195 GB, free: 4.992 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2394, allocations: 0 / 1.195 GB, free: 4.992 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.2394, allocations: 39.97 kB / 1.195 GB, free: 4.953 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.24, allocations: 299.7 kB / 1.195 GB, free: 4.617 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.2401, allocations: 58.55 kB / 1.195 GB, free: 4.551 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.2402, allocations: 24.97 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.2402, allocations: 0 / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.2403, allocations: 75.38 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.2403, allocations: 7.938 kB / 1.195 GB, free: 4.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003403/0.2407, allocations: 133.6 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2407, allocations: 55.39 kB / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.241, allocations: 121.8 kB / 1.195 GB, free: 4.098 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.241, allocations: 25.7 kB / 1.195 GB, free: 4.066 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.241, allocations: 96.09 kB / 1.195 GB, free: 3.969 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.241, allocations: 15.91 kB / 1.195 GB, free: 3.953 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.2411, allocations: 29.7 kB / 1.195 GB, free: 3.918 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.247e-05/0.2411, allocations: 322.8 kB / 1.196 GB, free: 3.594 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.2412, allocations: 27.97 kB / 1.196 GB, free: 3.566 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.811e-05/0.2413, allocations: 78.23 kB / 1.196 GB, free: 3.469 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.2415, allocations: 109.9 kB / 1.196 GB, free: 3.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.2415, allocations: 0 / 1.196 GB, free: 3.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001686/0.2416, allocations: 133.5 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2416, allocations: 4 kB / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.2416, allocations: 4 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2417, allocations: 8.219 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.2417, allocations: 19.92 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2417, allocations: 3.984 kB / 1.196 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.2418, allocations: 19.92 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-06/0.2418, allocations: 4 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 7.123e-05/0.2419, allocations: 121.7 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.2419, allocations: 7.953 kB / 1.196 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.2419, allocations: 12.36 kB / 1.196 GB, free: 2.988 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2419, allocations: 4 kB / 1.196 GB, free: 2.984 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2419, allocations: 4 kB / 1.196 GB, free: 2.98 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2419, allocations: 3.984 kB / 1.196 GB, free: 2.977 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.2423, allocations: 341.5 kB / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2423, allocations: 0 / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.2423, allocations: 11.98 kB / 1.197 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2423, allocations: 0 / 1.197 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2423, allocations: 8 kB / 1.197 GB, free: 2.574 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2423, allocations: 3.938 kB / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2423, allocations: 0 / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.2425, allocations: 195.5 kB / 1.197 GB, free: 2.363 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.2425, 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.2425, allocations: 4 kB / 1.197 GB, free: 2.352 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.503e-05/0.2425, allocations: 15.92 kB / 1.197 GB, free: 2.336 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.2426, allocations: 3.984 kB / 1.197 GB, free: 2.332 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2426, allocations: 4 kB / 1.197 GB, free: 2.328 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.2426, allocations: 99.86 kB / 1.197 GB, free: 2.23 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2426, allocations: 3.938 kB / 1.197 GB, free: 2.227 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001773/0.2428, allocations: 19.88 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.0004783/0.2433, allocations: 0.7401 MB / 1.198 GB, free: 1.441 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001903/0.2434, allocations: 71.88 kB / 1.198 GB, free: 1.371 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2434, allocations: 3.938 kB / 1.198 GB, free: 1.367 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.949e-05/0.2435, allocations: 36.41 kB / 1.198 GB, free: 1.332 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.2437, allocations: 19.88 kB / 1.198 GB, free: 1.312 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.245, allocations: 1.516 MB / 1.199 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.2452, allocations: 0.6924 MB / 1.2 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.2452, allocations: 7.984 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.2453, allocations: 19.44 kB / 1.2 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of SimCode: time 1.092e-06/0.2453, allocations: 3.938 kB / 1.2 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01535/0.2606, allocations: 2.241 MB / 1.202 GB, free: 12.83 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.31/6.57, allocations: 5.953 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.SampleTriggerPositiveStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.058998273685575] Failed to read output from testmodel.py, exit status != 0: 6.647446961142123 6.658864377 6.418119944 Calling exit ...