Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.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.000695/0.000695, 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.001051/0.001051, allocations: 209.2 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.8967/0.8967, 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.0371/0.0371, allocations: 12.19 MB / 324.6 MB, free: 6.191 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.0003914/0.0003914, allocations: 27.95 kB / 384.1 MB, free: 10.61 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.523/1.523, allocations: 353.8 MB / 0.7787 GB, free: 4.59 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.Latch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Latch",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.001418/0.001418, allocations: 119.2 kB / 1.06 GB, free: 24.79 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1905, allocations: 134.9 MB / 1.192 GB, free: 7.531 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001486/0.1919, allocations: 0.7345 MB / 1.192 GB, free: 6.797 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1931, allocations: 1.285 MB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.1932, allocations: 4 kB / 1.194 GB, free: 5.496 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.85e-05/0.1932, allocations: 7.875 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/0.1933, allocations: 15.8 kB / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.1939, allocations: 257.6 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.1941, allocations: 251.7 kB / 1.194 GB, free: 4.98 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.1943, allocations: 41.03 kB / 1.194 GB, free: 4.938 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1944, allocations: 107.8 kB / 1.194 GB, free: 4.832 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.1945, allocations: 87.66 kB / 1.194 GB, free: 4.746 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.1945, allocations: 28 kB / 1.194 GB, free: 4.719 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.27e-05/0.1946, allocations: 31.98 kB / 1.194 GB, free: 4.688 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.1946, allocations: 39.89 kB / 1.194 GB, free: 4.648 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.017e-05/0.1947, allocations: 91.73 kB / 1.195 GB, free: 4.559 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1949, allocations: 239.5 kB / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1949, allocations: 7.922 kB / 1.195 GB, free: 4.316 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1949, allocations: 3.938 kB / 1.195 GB, free: 4.312 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.195, allocations: 0 / 1.195 GB, free: 4.312 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004701/0.1954, allocations: 425.2 kB / 1.195 GB, free: 3.852 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1955, allocations: 8.031 kB / 1.195 GB, free: 3.844 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.1955, allocations: 50.73 kB / 1.195 GB, free: 3.785 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.1955, allocations: 24.83 kB / 1.195 GB, free: 3.762 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.1959, allocations: 170.5 kB / 1.195 GB, free: 3.57 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1959, allocations: 16.36 kB / 1.195 GB, free: 3.555 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1959, allocations: 20.38 kB / 1.196 GB, free: 3.535 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1961, allocations: 144 kB / 1.196 GB, free: 3.391 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1961, allocations: 0 / 1.196 GB, free: 3.391 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1961, allocations: 4 kB / 1.196 GB, free: 3.387 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1961, allocations: 4 kB / 1.196 GB, free: 3.383 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.1962, allocations: 67.95 kB / 1.196 GB, free: 3.316 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.1966, allocations: 379.5 kB / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1968, allocations: 86.47 kB / 1.196 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.1968, allocations: 32.84 kB / 1.196 GB, free: 2.773 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.1968, allocations: 7.938 kB / 1.196 GB, free: 2.766 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.197, allocations: 129 kB / 1.196 GB, free: 2.629 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.197, allocations: 0 / 1.196 GB, free: 2.629 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0006009/0.1976, allocations: 251.2 kB / 1.197 GB, free: 2.379 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.1976, allocations: 51.41 kB / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.1977, allocations: 155.8 kB / 1.197 GB, free: 2.156 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1978, allocations: 33.7 kB / 1.197 GB, free: 2.117 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.1978, allocations: 112.5 kB / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.1978, allocations: 31.78 kB / 1.197 GB, free: 1.973 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.1979, allocations: 69.67 kB / 1.197 GB, free: 1.898 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.198, allocations: 322.8 kB / 1.197 GB, free: 1.574 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.1981, allocations: 127.4 kB / 1.197 GB, free: 1.438 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1982, allocations: 187.1 kB / 1.198 GB, free: 1.215 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1984, allocations: 219 kB / 1.198 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1984, allocations: 7.938 kB / 1.198 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000305/0.1987, allocations: 373.4 kB / 1.198 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.1987, allocations: 71.64 kB / 1.198 GB, free: 488 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1987, allocations: 0 / 1.198 GB, free: 488 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1987, allocations: 4 kB / 1.198 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.696e-05/0.1988, allocations: 7.984 kB / 1.198 GB, free: 476 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1988, allocations: 4 kB / 1.198 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.1989, allocations: 63.77 kB / 1.198 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.199, allocations: 12 kB / 1.198 GB, free: 396 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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.323e-05/0.199, allocations: 141.8 kB / 1.198 GB, free: 244 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.199, allocations: 19.78 kB / 1.198 GB, free: 224 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.1991, allocations: 12.78 kB / 1.198 GB, free: 212 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1991, allocations: 0 / 1.198 GB, free: 212 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1991, allocations: 0 / 1.198 GB, free: 212 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1991, allocations: 3.984 kB / 1.199 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.1994, allocations: 455.2 kB / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1994, allocations: 0 / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.385e-06/0.1994, allocations: 4 kB / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1994, allocations: 4 kB / 1.199 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1994, allocations: 7.984 kB / 1.199 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1994, allocations: 0 / 1.199 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1994, allocations: 3.938 kB / 1.199 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.1996, allocations: 295.3 kB / 1.199 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.1996, allocations: 11.91 kB / 1.199 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1996, allocations: 3.984 kB / 1.199 GB, free: 15.37 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.1997, allocations: 8 kB / 1.199 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.1997, allocations: 11.97 kB / 1.199 GB, free: 15.35 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1997, allocations: 12 kB / 1.199 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.652e-05/0.1998, allocations: 95.27 kB / 1.199 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.1998, allocations: 4 kB / 1.199 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001926/0.2, allocations: 47.92 kB / 1.199 GB, free: 15.2 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0003967/0.2004, allocations: 0.8386 MB / 1.2 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.2006, allocations: 326 kB / 1.201 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2006, allocations: 0 / 1.201 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 5.992e-05/0.2007, allocations: 68.39 kB / 1.201 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.2009, allocations: 31.97 kB / 1.201 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.2025, allocations: 2.285 MB / 1.203 GB, free: 11.41 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.937e-05/0.2025, allocations: 102.8 kB / 1.203 GB, free: 11.28 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.2026, allocations: 9.094 kB / 1.203 GB, free: 11.27 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.2026, allocations: 39.42 kB / 1.203 GB, free: 11.23 MB / 0.8387 GB Notification: Performance of SimCode: time 6.31e-07/0.2026, allocations: 0 / 1.203 GB, free: 11.23 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.2176, allocations: 4.394 MB / 1.207 GB, free: 7.004 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.984/6.201, allocations: 9.062 kB / 1.207 GB, free: 7 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Latch.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.209921039640903] Failed to read output from testmodel.py, exit status != 0: 6.276289940811694 6.28714734 6.09068719 Calling exit ...