Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr.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.0006994/0.0006994, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000699/0.000699, allocations: 207.6 kB / 22.25 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.8676/0.8676, allocations: 230.6 MB / 256 MB, free: 9.605 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.0351/0.0351, allocations: 12.19 MB / 324.6 MB, free: 6.195 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.0004078/0.0004078, allocations: 27.95 kB / 384.1 MB, free: 10.62 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.48/1.48, allocations: 353.8 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.MultiOr,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_MultiOr",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.001329/0.001329, allocations: 122.1 kB / 1.06 GB, free: 25.01 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.186, allocations: 134.9 MB / 1.192 GB, free: 7.539 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001495/0.1875, allocations: 0.7931 MB / 1.192 GB, free: 6.746 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1889, allocations: 1.499 MB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.1889, allocations: 8 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.189, allocations: 23.73 kB / 1.194 GB, free: 5.203 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.1891, allocations: 35.7 kB / 1.194 GB, free: 5.168 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.19, allocations: 0.5228 MB / 1.194 GB, free: 4.66 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.1904, allocations: 475.2 kB / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1905, allocations: 29.67 kB / 1.195 GB, free: 4.16 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.1906, allocations: 187.7 kB / 1.195 GB, free: 3.977 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1908, allocations: 151.5 kB / 1.195 GB, free: 3.828 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.1909, allocations: 40 kB / 1.195 GB, free: 3.789 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.942e-05/0.1909, allocations: 55.97 kB / 1.195 GB, free: 3.734 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.191, allocations: 47.84 kB / 1.195 GB, free: 3.688 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.1911, allocations: 143.6 kB / 1.196 GB, free: 3.547 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.1914, allocations: 415 kB / 1.196 GB, free: 3.141 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1914, allocations: 4 kB / 1.196 GB, free: 3.137 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.184e-06/0.1914, allocations: 0 / 1.196 GB, free: 3.137 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1914, allocations: 0 / 1.196 GB, free: 3.137 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005371/0.1919, allocations: 0.5683 MB / 1.197 GB, free: 2.504 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.192, allocations: 8.031 kB / 1.197 GB, free: 2.496 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.192, allocations: 50.66 kB / 1.197 GB, free: 2.438 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.1921, allocations: 32.8 kB / 1.197 GB, free: 2.406 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1923, allocations: 210.2 kB / 1.197 GB, free: 2.176 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1923, allocations: 20.38 kB / 1.197 GB, free: 2.156 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.1923, allocations: 32.38 kB / 1.197 GB, free: 2.125 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1925, allocations: 161.9 kB / 1.197 GB, free: 1.957 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1925, allocations: 3.938 kB / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1925, allocations: 3.984 kB / 1.197 GB, free: 1.949 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1925, allocations: 4 kB / 1.197 GB, free: 1.945 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.013e-05/0.1926, allocations: 83.89 kB / 1.197 GB, free: 1.863 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.1932, allocations: 0.5971 MB / 1.198 GB, free: 1.219 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1934, allocations: 90.55 kB / 1.198 GB, free: 1.121 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.1934, allocations: 32.84 kB / 1.198 GB, free: 1.086 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.1934, allocations: 4 kB / 1.198 GB, free: 1.082 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.1936, allocations: 159.4 kB / 1.198 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.1936, allocations: 0 / 1.198 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0003171/0.1939, allocations: 246.3 kB / 1.198 GB, free: 0.668 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.1939, allocations: 51.41 kB / 1.198 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1941, allocations: 186.1 kB / 1.198 GB, free: 424 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.1941, allocations: 45.7 kB / 1.198 GB, free: 372 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.1942, allocations: 132.6 kB / 1.199 GB, free: 236 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.1942, allocations: 39.75 kB / 1.199 GB, free: 196 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.1943, allocations: 117.6 kB / 1.199 GB, free: 72 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.1944, allocations: 326.8 kB / 1.199 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.1946, allocations: 308.4 kB / 1.199 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.1949, allocations: 394.5 kB / 1.2 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.1952, allocations: 416.3 kB / 1.2 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1952, allocations: 4 kB / 1.2 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006294/0.1958, allocations: 0.7789 MB / 1.201 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 6.586e-05/0.1959, allocations: 164.4 kB / 1.201 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1959, allocations: 0 / 1.201 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1959, allocations: 4 kB / 1.201 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.149e-05/0.1959, allocations: 12 kB / 1.201 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1959, allocations: 11.92 kB / 1.201 GB, free: 13.42 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.1963, allocations: 139.9 kB / 1.201 GB, free: 13.28 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.1963, allocations: 27.98 kB / 1.201 GB, free: 13.25 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001077/0.1964, allocations: 157.8 kB / 1.201 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.1965, allocations: 23.84 kB / 1.201 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.1965, allocations: 17.81 kB / 1.201 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1965, allocations: 0 / 1.201 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1965, allocations: 0 / 1.201 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1965, allocations: 3.984 kB / 1.201 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.1969, allocations: 490.3 kB / 1.202 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1969, allocations: 96 / 1.202 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.1969, allocations: 15.92 kB / 1.202 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1969, allocations: 0 / 1.202 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1969, allocations: 4 kB / 1.202 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1969, allocations: 0 / 1.202 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1969, allocations: 7.984 kB / 1.202 GB, free: 12.49 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.1971, allocations: 289.3 kB / 1.202 GB, free: 12.19 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.1971, allocations: 15.91 kB / 1.202 GB, free: 12.18 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1971, allocations: 0 / 1.202 GB, free: 12.18 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.1971, allocations: 8 kB / 1.202 GB, free: 12.17 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1972, allocations: 19.95 kB / 1.202 GB, free: 12.15 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.1972, allocations: 12 kB / 1.202 GB, free: 12.14 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.1972, allocations: 119.2 kB / 1.202 GB, free: 12.02 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.1972, allocations: 0 / 1.202 GB, free: 12.02 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002278/0.1974, allocations: 75.94 kB / 1.202 GB, free: 11.95 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * 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.0004016/0.1978, allocations: 0.8276 MB / 1.203 GB, free: 11.09 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.1983, allocations: 0.6965 MB / 1.204 GB, free: 10.3 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1983, allocations: 0 / 1.204 GB, free: 10.3 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.749e-05/0.1984, allocations: 67.91 kB / 1.204 GB, free: 10.24 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1987, allocations: 50.36 kB / 1.204 GB, free: 10.19 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.2012, allocations: 3.632 MB / 1.208 GB, free: 6.254 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.273e-05/0.2013, allocations: 116.1 kB / 1.208 GB, free: 6.125 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.624e-05/0.2014, allocations: 25.47 kB / 1.208 GB, free: 6.102 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.2014, allocations: 59.34 kB / 1.208 GB, free: 6.043 MB / 0.8387 GB Notification: Performance of SimCode: time 6.91e-07/0.2014, allocations: 4 kB / 1.208 GB, free: 6.039 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.2182, allocations: 7.54 MB / 1.215 GB, free: 14.73 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.221/6.439, allocations: 9.438 kB / 1.215 GB, free: 14.73 MB / 0.8543 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr_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_MultiOr.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.32636832818389] Failed to read output from testmodel.py, exit status != 0: 6.51441318821162 6.524196616 6.331156416 Calling exit ...