Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.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.0007828/0.0007828, 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.0009165/0.0009165, allocations: 211.6 kB / 22.25 MB, free: 3.574 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.8722/0.8722, allocations: 230.6 MB / 256 MB, free: 9.57 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.03595/0.03595, allocations: 12.19 MB / 324.6 MB, free: 6.086 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.0004327/0.0004327, allocations: 31.95 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.533/1.533, allocations: 353.9 MB / 0.7787 GB, free: 4.566 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.Change,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Change",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.001398/0.001398, allocations: 116.8 kB / 1.06 GB, free: 24.89 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1948, allocations: 134.9 MB / 1.192 GB, free: 7.535 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Change): time 0.001373/0.1962, allocations: 0.7296 MB / 1.192 GB, free: 6.809 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1972, allocations: 1.18 MB / 1.194 GB, free: 5.617 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.1972, allocations: 7.938 kB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.1973, allocations: 3.938 kB / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.108e-05/0.1973, allocations: 7.922 kB / 1.194 GB, free: 5.598 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.1977, allocations: 136.3 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1979, allocations: 123.7 kB / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.198, allocations: 12 kB / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.198, allocations: 47.84 kB / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.902e-05/0.1981, allocations: 39.88 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1981, allocations: 12 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.029e-05/0.1982, allocations: 23.98 kB / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.1982, allocations: 15.92 kB / 1.194 GB, free: 5.199 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.1983, allocations: 35.91 kB / 1.194 GB, free: 5.164 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.1984, allocations: 111.9 kB / 1.194 GB, free: 5.055 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1984, allocations: 3.984 kB / 1.194 GB, free: 5.051 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1984, allocations: 0 / 1.194 GB, free: 5.051 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.1984, allocations: 0 / 1.194 GB, free: 5.051 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004439/0.1989, allocations: 335.8 kB / 1.194 GB, free: 4.684 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1989, allocations: 12.03 kB / 1.194 GB, free: 4.672 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.499e-05/0.1989, allocations: 34.75 kB / 1.194 GB, free: 4.629 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.199, allocations: 8.891 kB / 1.194 GB, free: 4.621 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.199, allocations: 122.4 kB / 1.195 GB, free: 4.477 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1991, allocations: 4.375 kB / 1.195 GB, free: 4.473 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1991, allocations: 8.375 kB / 1.195 GB, free: 4.465 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1992, allocations: 62.22 kB / 1.195 GB, free: 4.398 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1992, allocations: 3.938 kB / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1992, allocations: 4 kB / 1.195 GB, free: 4.391 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1992, allocations: 0 / 1.195 GB, free: 4.391 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.755e-05/0.1993, allocations: 47.94 kB / 1.195 GB, free: 4.344 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.1999, allocations: 287.8 kB / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.2001, allocations: 58.61 kB / 1.195 GB, free: 3.953 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.2001, allocations: 28.97 kB / 1.195 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.2001, allocations: 0 / 1.195 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.2003, allocations: 95.3 kB / 1.195 GB, free: 3.816 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.2003, allocations: 0 / 1.195 GB, free: 3.816 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0002666/0.2006, allocations: 145.5 kB / 1.195 GB, free: 3.668 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.2006, allocations: 51.48 kB / 1.195 GB, free: 3.605 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.028e-05/0.2006, allocations: 117.8 kB / 1.195 GB, free: 3.48 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2007, allocations: 33.7 kB / 1.195 GB, free: 3.441 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.2007, allocations: 100.1 kB / 1.196 GB, free: 3.34 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.2007, allocations: 11.91 kB / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.2008, allocations: 41.7 kB / 1.196 GB, free: 3.281 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.2008, allocations: 322.8 kB / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.2009, allocations: 85.66 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.2011, allocations: 125.9 kB / 1.196 GB, free: 2.723 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.2012, allocations: 142.2 kB / 1.196 GB, free: 2.562 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2012, allocations: 4 kB / 1.196 GB, free: 2.559 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000254/0.2015, allocations: 236.9 kB / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.2015, allocations: 47.34 kB / 1.197 GB, free: 2.258 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2015, allocations: 3.938 kB / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2015, allocations: 4 kB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.2016, allocations: 16.11 kB / 1.197 GB, free: 2.234 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2016, allocations: 0 / 1.197 GB, free: 2.234 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2017, allocations: 35.89 kB / 1.197 GB, free: 2.199 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.2017, allocations: 12 kB / 1.197 GB, free: 2.188 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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.675e-05/0.2018, allocations: 125.7 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-06/0.2018, allocations: 3.953 kB / 1.197 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.2018, allocations: 16.36 kB / 1.197 GB, free: 2.031 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2018, allocations: 0 / 1.197 GB, free: 2.031 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2018, allocations: 4 kB / 1.197 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2018, allocations: 0 / 1.197 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.2021, allocations: 341.5 kB / 1.197 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2021, allocations: 0 / 1.197 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.2021, allocations: 11.92 kB / 1.197 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2021, allocations: 0 / 1.197 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2022, allocations: 4 kB / 1.197 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2022, allocations: 0 / 1.197 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2022, allocations: 4 kB / 1.197 GB, free: 1.625 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.2023, allocations: 215.4 kB / 1.197 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.2023, allocations: 0 / 1.197 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.2023, allocations: 0 / 1.197 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.2024, allocations: 7.984 kB / 1.197 GB, free: 1.391 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.2024, allocations: 15.92 kB / 1.197 GB, free: 1.375 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.2024, allocations: 4 kB / 1.197 GB, free: 1.371 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.2024, allocations: 91.27 kB / 1.197 GB, free: 1.281 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.2024, allocations: 0 / 1.197 GB, free: 1.281 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001716/0.2026, allocations: 31.94 kB / 1.197 GB, free: 1.25 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0003684/0.203, allocations: 0.7435 MB / 1.198 GB, free: 492 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.2032, allocations: 193 kB / 1.198 GB, free: 280 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2032, allocations: 0 / 1.198 GB, free: 280 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.168e-05/0.2033, allocations: 48.08 kB / 1.198 GB, free: 232 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.2035, allocations: 16.81 kB / 1.198 GB, free: 216 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.2048, allocations: 1.803 MB / 1.2 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.501e-05/0.2048, allocations: 79.58 kB / 1.2 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.775e-05/0.2049, allocations: 4 kB / 1.2 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.2049, allocations: 23.42 kB / 1.2 GB, free: 14.15 MB / 0.8387 GB Notification: Performance of SimCode: time 6.31e-07/0.2049, allocations: 0 / 1.2 GB, free: 14.15 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.2191, allocations: 3.212 MB / 1.203 GB, free: 11.08 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.936/6.155, allocations: 11.38 kB / 1.203 GB, free: 11.08 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Change.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.163624183274806] Failed to read output from testmodel.py, exit status != 0: 6.2339305030182 6.24140205 6.041256772 Calling exit ...