Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.0008504/0.0008504, 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.0008863/0.0008863, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.888/0.888, allocations: 230.6 MB / 256 MB, free: 9.59 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.03562/0.03562, allocations: 12.19 MB / 324.6 MB, free: 6.074 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.0003859/0.0003859, allocations: 27.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.555/1.555, allocations: 353.8 MB / 0.7787 GB, free: 4.555 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.Constant,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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: 120.8 kB / 1.06 GB, free: 24.8 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1935, allocations: 134.9 MB / 1.192 GB, free: 7.488 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00122/0.1947, allocations: 0.5336 MB / 1.192 GB, free: 6.957 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 3.547e-05/0.1947, allocations: 4 kB / 1.192 GB, free: 6.953 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.1947, allocations: 0 / 1.192 GB, free: 6.953 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.1948, allocations: 0 / 1.192 GB, free: 6.953 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.452e-05/0.1948, allocations: 4 kB / 1.192 GB, free: 6.949 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 2.676e-05/0.1948, allocations: 0 / 1.192 GB, free: 6.949 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.037e-05/0.1949, allocations: 3.938 kB / 1.192 GB, free: 6.945 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.1949, allocations: 11.98 kB / 1.192 GB, free: 6.934 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.35e-05/0.1949, allocations: 0 / 1.192 GB, free: 6.934 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 1.925e-05/0.1949, allocations: 7.922 kB / 1.192 GB, free: 6.926 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1949, allocations: 0 / 1.192 GB, free: 6.926 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-06/0.195, allocations: 0 / 1.192 GB, free: 6.926 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.195, allocations: 0 / 1.192 GB, free: 6.926 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.195, allocations: 4 kB / 1.192 GB, free: 6.922 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 5.552e-05/0.195, allocations: 4 kB / 1.192 GB, free: 6.918 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.195, allocations: 4 kB / 1.192 GB, free: 6.914 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.413e-06/0.195, allocations: 0 / 1.192 GB, free: 6.914 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.1951, allocations: 0 / 1.192 GB, free: 6.914 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002248/0.1953, allocations: 242.7 kB / 1.192 GB, free: 6.645 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1953, allocations: 11.97 kB / 1.192 GB, free: 6.633 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.1953, allocations: 30.75 kB / 1.193 GB, free: 6.594 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.86e-05/0.1954, allocations: 4.938 kB / 1.193 GB, free: 6.59 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.771e-05/0.1954, allocations: 102.5 kB / 1.193 GB, free: 6.465 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.1954, allocations: 384 / 1.193 GB, free: 6.465 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.1954, allocations: 384 / 1.193 GB, free: 6.465 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.938e-05/0.1955, allocations: 38.2 kB / 1.193 GB, free: 6.422 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.1955, allocations: 3.938 kB / 1.193 GB, free: 6.418 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.1955, allocations: 0 / 1.193 GB, free: 6.418 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1955, allocations: 0 / 1.193 GB, free: 6.418 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.241e-05/0.1955, allocations: 0 / 1.193 GB, free: 6.418 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.1958, allocations: 358.6 kB / 1.193 GB, free: 6.023 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.06e-05/0.1958, allocations: 173.1 kB / 1.193 GB, free: 5.844 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.1959, allocations: 84.52 kB / 1.193 GB, free: 5.758 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1959, allocations: 75.28 kB / 1.193 GB, free: 5.684 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1959, allocations: 109.8 kB / 1.193 GB, free: 5.566 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.1959, allocations: 0 / 1.193 GB, free: 5.566 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 5.293e-05/0.196, allocations: 37.69 kB / 1.193 GB, free: 5.523 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.196, allocations: 126.7 kB / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.1961, allocations: 97.86 kB / 1.194 GB, free: 5.281 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.1961, allocations: 25.7 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/0.1961, allocations: 80.14 kB / 1.194 GB, free: 5.168 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.1961, allocations: 0 / 1.194 GB, free: 5.168 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/0.1961, allocations: 13.72 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.1962, allocations: 310.8 kB / 1.194 GB, free: 4.836 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.1962, allocations: 3.938 kB / 1.194 GB, free: 4.832 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-06/0.1962, allocations: 128 / 1.194 GB, free: 4.832 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.1962, allocations: 79.28 kB / 1.194 GB, free: 4.754 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/0.1962, allocations: 91.2 kB / 1.194 GB, free: 4.664 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.42e-05/0.1963, allocations: 25.7 kB / 1.194 GB, free: 4.633 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.1963, allocations: 83.28 kB / 1.194 GB, free: 4.551 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.1963, allocations: 79.22 kB / 1.194 GB, free: 4.473 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.066e-05/0.1964, allocations: 154.6 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.47e-05/0.1964, allocations: 75.28 kB / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.229e-05/0.1964, allocations: 158.5 kB / 1.195 GB, free: 4.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.1964, allocations: 76.75 kB / 1.195 GB, free: 4.016 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1965, allocations: 83.2 kB / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.25e-05/0.1965, allocations: 269.9 kB / 1.195 GB, free: 3.66 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.1966, allocations: 105 kB / 1.195 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.1966, allocations: 108.1 kB / 1.195 GB, free: 3.438 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.869e-05/0.1966, allocations: 180.2 kB / 1.196 GB, free: 3.254 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.915e-05/0.1967, allocations: 180.2 kB / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.804e-05/0.1967, allocations: 188.1 kB / 1.196 GB, free: 2.879 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1968, allocations: 376.2 kB / 1.196 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.348e-05/0.1969, allocations: 105 kB / 1.196 GB, free: 2.352 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.1969, allocations: 112.9 kB / 1.197 GB, free: 2.234 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.618e-05/0.1969, allocations: 176.3 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.197, allocations: 192.1 kB / 1.197 GB, free: 1.859 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.521e-05/0.197, allocations: 176.6 kB / 1.197 GB, free: 1.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.59e-05/0.197, allocations: 180.3 kB / 1.197 GB, free: 1.496 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.768e-05/0.1971, allocations: 319.7 kB / 1.198 GB, free: 1.16 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.1971, allocations: 108.9 kB / 1.198 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.1972, allocations: 176.3 kB / 1.198 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.351e-05/0.1972, allocations: 109 kB / 1.198 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.1973, allocations: 180.2 kB / 1.198 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.1973, allocations: 101 kB / 1.198 GB, free: 476 kB / 0.823 GB Notification: Performance of sorting global known variables: time 2.799e-05/0.1973, allocations: 79.28 kB / 1.198 GB, free: 396 kB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.1973, allocations: 4.094 kB / 1.198 GB, free: 392 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001494/0.1975, allocations: 0 / 1.198 GB, free: 392 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002728/0.1978, allocations: 0.8087 MB / 1.199 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 3.401e-05/0.1978, allocations: 0 / 1.199 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1978, allocations: 0 / 1.199 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.1978, allocations: 0 / 1.199 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.198, allocations: 467.6 kB / 1.199 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/0.1987, allocations: 1.528 MB / 1.201 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.1987, allocations: 59.45 kB / 1.201 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 6.663e-06/0.1987, allocations: 0 / 1.201 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.1988, allocations: 7.438 kB / 1.201 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of SimCode: time 5.51e-07/0.1988, allocations: 0 / 1.201 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.2121, allocations: 1.413 MB / 1.202 GB, free: 12.1 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.869/6.081, allocations: 11.95 kB / 1.202 GB, free: 12.09 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.105437778867781] Failed to read output from testmodel.py, exit status != 0: 6.154099336825311 6.162257641 5.965678778 Calling exit ...