Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001023/0.001023, 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.0007392/0.0007392, allocations: 208.1 kB / 22.24 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.858/0.858, 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.03581/0.03581, allocations: 12.18 MB / 324.6 MB, free: 6.125 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.0003781/0.0003781, allocations: 23.97 kB / 384.1 MB, free: 10.55 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.539/1.539, 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.Validation.TimerNegativeStartTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.001383/0.001383, allocations: 124.4 kB / 1.06 GB, free: 24.66 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2003, allocations: 134.9 MB / 1.192 GB, free: 7.438 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001388/0.2017, allocations: 0.6543 MB / 1.192 GB, free: 6.785 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.2028, allocations: 1.192 MB / 1.193 GB, free: 5.582 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.2029, allocations: 0 / 1.193 GB, free: 5.582 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.2029, allocations: 3.938 kB / 1.193 GB, free: 5.578 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.203, allocations: 11.91 kB / 1.193 GB, free: 5.566 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.2034, allocations: 141.4 kB / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.2036, allocations: 143.8 kB / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.6e-05/0.2037, allocations: 7.984 kB / 1.194 GB, free: 5.281 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.271e-05/0.2038, allocations: 63.84 kB / 1.194 GB, free: 5.219 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.873e-05/0.2038, allocations: 43.86 kB / 1.194 GB, free: 5.176 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2039, allocations: 16 kB / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.522e-05/0.2039, allocations: 19.98 kB / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.204, allocations: 27.91 kB / 1.194 GB, free: 5.113 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.204, allocations: 43.91 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.2042, allocations: 135.9 kB / 1.194 GB, free: 4.938 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2042, allocations: 0 / 1.194 GB, free: 4.938 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2042, allocations: 0 / 1.194 GB, free: 4.938 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.2042, allocations: 0 / 1.194 GB, free: 4.938 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.0004646/0.2046, allocations: 343.8 kB / 1.194 GB, free: 4.562 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2047, allocations: 12.03 kB / 1.194 GB, free: 4.551 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.861e-05/0.2047, allocations: 34.73 kB / 1.194 GB, free: 4.508 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.2047, allocations: 16.83 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.205, allocations: 150.6 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.205, allocations: 16.36 kB / 1.195 GB, free: 4.305 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.205, allocations: 8.375 kB / 1.195 GB, free: 4.297 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.2052, allocations: 85.94 kB / 1.195 GB, free: 4.207 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.2052, allocations: 0 / 1.195 GB, free: 4.207 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2052, allocations: 8 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2052, allocations: 0 / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.623e-05/0.2052, allocations: 39.91 kB / 1.195 GB, free: 4.16 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.2056, allocations: 303.7 kB / 1.195 GB, free: 3.82 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.2058, allocations: 82.55 kB / 1.195 GB, free: 3.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.2058, allocations: 32.88 kB / 1.195 GB, free: 3.695 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.2058, allocations: 0 / 1.195 GB, free: 3.695 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.206, allocations: 145.1 kB / 1.195 GB, free: 3.543 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.206, allocations: 3.938 kB / 1.195 GB, free: 3.539 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0002802/0.2063, allocations: 197.6 kB / 1.196 GB, free: 3.34 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.2063, allocations: 63.48 kB / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.2064, allocations: 109.8 kB / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2064, allocations: 37.7 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.2065, allocations: 92.12 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.2065, allocations: 23.81 kB / 1.196 GB, free: 2.988 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.2066, allocations: 49.69 kB / 1.196 GB, free: 2.934 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.2066, allocations: 322.8 kB / 1.196 GB, free: 2.609 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.2067, allocations: 77.67 kB / 1.196 GB, free: 2.527 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.332e-05/0.2068, allocations: 119.8 kB / 1.196 GB, free: 2.391 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.2069, allocations: 136.3 kB / 1.197 GB, free: 2.238 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2069, allocations: 0 / 1.197 GB, free: 2.238 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002253/0.2072, allocations: 248.9 kB / 1.197 GB, free: 1.977 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.2072, allocations: 33.7 kB / 1.197 GB, free: 1.938 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2072, allocations: 0 / 1.197 GB, free: 1.938 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2072, allocations: 0 / 1.197 GB, free: 1.938 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.2073, allocations: 15.92 kB / 1.197 GB, free: 1.922 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2073, allocations: 4 kB / 1.197 GB, free: 1.918 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2074, allocations: 43.98 kB / 1.197 GB, free: 1.875 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.2074, allocations: 8 kB / 1.197 GB, free: 1.867 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 8.02e-05/0.2075, allocations: 129.8 kB / 1.197 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.2075, allocations: 11.89 kB / 1.197 GB, free: 1.719 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.2075, allocations: 8.438 kB / 1.197 GB, free: 1.707 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2075, allocations: 4 kB / 1.197 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2075, allocations: 0 / 1.197 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2075, allocations: 3.984 kB / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.2078, allocations: 397.5 kB / 1.197 GB, free: 1.262 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2078, allocations: 3.938 kB / 1.197 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.2078, allocations: 7.984 kB / 1.197 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2078, allocations: 4 kB / 1.197 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2078, allocations: 4 kB / 1.197 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2078, allocations: 0 / 1.197 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2078, allocations: 0 / 1.197 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.2083, allocations: 277.4 kB / 1.198 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.2083, allocations: 15.89 kB / 1.198 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.2083, allocations: 4 kB / 1.198 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.2083, allocations: 7.984 kB / 1.198 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.2084, allocations: 23.91 kB / 1.198 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2084, allocations: 8 kB / 1.198 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.2084, allocations: 87.58 kB / 1.198 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2084, allocations: 0 / 1.198 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001873/0.2086, allocations: 32 kB / 1.198 GB, free: 0.7812 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004009/0.209, allocations: 0.8139 MB / 1.199 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.2092, allocations: 203.1 kB / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2092, allocations: 256 / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.259e-05/0.2093, allocations: 55.91 kB / 1.199 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.2095, allocations: 20.16 kB / 1.199 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.2108, allocations: 1.826 MB / 1.201 GB, free: 13.69 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.35e-05/0.2108, allocations: 75.31 kB / 1.201 GB, free: 13.6 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.2108, allocations: 16.48 kB / 1.201 GB, free: 13.58 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.2109, allocations: 19.44 kB / 1.201 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of SimCode: time 6.71e-07/0.2109, allocations: 0 / 1.201 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.2268, allocations: 3.456 MB / 1.204 GB, free: 10.27 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.954/6.181, allocations: 18.83 kB / 1.204 GB, free: 10.25 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.csv --start-time -10 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.170912003144622] Failed to read output from testmodel.py, exit status != 0: 6.25528764910996 6.263475177 6.057437121 Calling exit ...