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.000923/0.000923, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.000927/0.000927, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9867/0.9867, allocations: 230.6 MB / 256 MB, free: 9.809 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.03893/0.03893, allocations: 12.17 MB / 324.6 MB, free: 6.383 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.0005954/0.0005954, allocations: 31.94 kB / 384.1 MB, free: 10.79 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.705/1.705, allocations: 353.8 MB / 0.7787 GB, free: 3.137 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.001442/0.001442, allocations: 124.7 kB / 1.06 GB, free: 25.05 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2289, allocations: 134.9 MB / 1.192 GB, free: 7.902 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001422/0.2303, allocations: 0.5534 MB / 1.192 GB, free: 7.352 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 4.422e-05/0.2304, allocations: 0 / 1.192 GB, free: 7.352 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.2304, allocations: 0 / 1.192 GB, free: 7.352 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.2304, allocations: 0 / 1.192 GB, free: 7.352 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.257e-05/0.2305, allocations: 0 / 1.192 GB, free: 7.352 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.957e-05/0.2305, allocations: 0 / 1.192 GB, free: 7.352 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.249e-05/0.2306, allocations: 11.94 kB / 1.192 GB, free: 7.34 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.97e-05/0.2307, allocations: 7.984 kB / 1.192 GB, free: 7.332 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.2307, allocations: 0 / 1.192 GB, free: 7.332 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.265e-05/0.2307, allocations: 3.938 kB / 1.192 GB, free: 7.328 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.2307, allocations: 0 / 1.192 GB, free: 7.328 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-06/0.2307, allocations: 0 / 1.192 GB, free: 7.328 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.2307, allocations: 4 kB / 1.192 GB, free: 7.324 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.2308, allocations: 0 / 1.192 GB, free: 7.324 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.953e-05/0.2308, allocations: 0 / 1.192 GB, free: 7.324 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2308, allocations: 3.938 kB / 1.192 GB, free: 7.32 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2308, allocations: 0 / 1.192 GB, free: 7.32 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2308, allocations: 0 / 1.192 GB, free: 7.32 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.000281/0.2311, allocations: 246.7 kB / 1.193 GB, free: 7.047 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.2312, allocations: 12.03 kB / 1.193 GB, free: 7.035 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.2312, allocations: 30.75 kB / 1.193 GB, free: 6.996 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.029e-05/0.2312, allocations: 0.9375 kB / 1.193 GB, free: 6.996 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.939e-05/0.2313, allocations: 102.5 kB / 1.193 GB, free: 6.871 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2313, allocations: 384 / 1.193 GB, free: 6.871 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-06/0.2313, allocations: 384 / 1.193 GB, free: 6.871 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.466e-05/0.2314, allocations: 30.27 kB / 1.193 GB, free: 6.836 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2314, allocations: 3.938 kB / 1.193 GB, free: 6.832 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.2314, allocations: 4 kB / 1.193 GB, free: 6.828 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.2314, allocations: 0 / 1.193 GB, free: 6.828 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.861e-05/0.2314, allocations: 7.938 kB / 1.193 GB, free: 6.82 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.2318, allocations: 346.6 kB / 1.193 GB, free: 6.438 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/0.2318, allocations: 177.1 kB / 1.193 GB, free: 6.254 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.2319, allocations: 84.58 kB / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.2319, allocations: 79.22 kB / 1.193 GB, free: 6.09 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.2319, allocations: 109.8 kB / 1.194 GB, free: 5.973 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2319, allocations: 0 / 1.194 GB, free: 5.973 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 6.688e-05/0.232, allocations: 29.7 kB / 1.194 GB, free: 5.938 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.232, allocations: 130.7 kB / 1.194 GB, free: 5.797 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.595e-05/0.2321, allocations: 97.86 kB / 1.194 GB, free: 5.691 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.2321, allocations: 33.64 kB / 1.194 GB, free: 5.652 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.2322, allocations: 84.12 kB / 1.194 GB, free: 5.566 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.2322, allocations: 0 / 1.194 GB, free: 5.566 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.2322, allocations: 9.719 kB / 1.194 GB, free: 5.551 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.2323, allocations: 314.8 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-06/0.2323, allocations: 0 / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-06/0.2323, allocations: 3.938 kB / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.994e-05/0.2323, allocations: 83.41 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.2323, allocations: 79.22 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.672e-05/0.2323, allocations: 25.7 kB / 1.194 GB, free: 5.039 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.2324, allocations: 87.28 kB / 1.194 GB, free: 4.953 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.2324, allocations: 75.28 kB / 1.195 GB, free: 4.879 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.616e-05/0.2324, allocations: 158.4 kB / 1.195 GB, free: 4.723 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.898e-05/0.2325, allocations: 75.28 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.759e-05/0.2325, allocations: 166.5 kB / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.2326, allocations: 76.7 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.2326, allocations: 75.28 kB / 1.195 GB, free: 4.336 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 8.675e-05/0.2327, allocations: 265.4 kB / 1.195 GB, free: 4.066 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.2327, allocations: 108.9 kB / 1.195 GB, free: 3.953 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.2327, allocations: 108.1 kB / 1.196 GB, free: 3.84 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-05/0.2328, allocations: 184.2 kB / 1.196 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.086e-05/0.2328, allocations: 176.3 kB / 1.196 GB, free: 3.473 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.946e-05/0.2328, allocations: 180.3 kB / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.233, allocations: 384.2 kB / 1.196 GB, free: 2.863 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/0.233, allocations: 101 kB / 1.196 GB, free: 2.758 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2331, allocations: 116.9 kB / 1.197 GB, free: 2.637 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.156e-05/0.2332, allocations: 176.3 kB / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.2332, allocations: 180.3 kB / 1.197 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.073e-05/0.2333, allocations: 180.5 kB / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.324e-05/0.2333, allocations: 184.2 kB / 1.197 GB, free: 1.902 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.2334, allocations: 319.7 kB / 1.198 GB, free: 1.566 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.2335, allocations: 104.9 kB / 1.198 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.2335, allocations: 180.2 kB / 1.198 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.633e-05/0.2336, allocations: 105 kB / 1.198 GB, free: 1.164 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.2336, allocations: 180.2 kB / 1.198 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.2336, allocations: 105 kB / 1.198 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.276e-05/0.2337, allocations: 83.28 kB / 1.198 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2337, allocations: 0 / 1.198 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000156/0.2338, allocations: 0 / 1.198 GB, free: 0.7891 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: 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.0003161/0.2341, allocations: 0.8087 MB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 4.094e-05/0.2342, allocations: 3.938 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2342, allocations: 0 / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.2342, allocations: 4 kB / 1.199 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.2344, allocations: 453.2 kB / 1.2 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007475/0.2352, allocations: 1.539 MB / 1.201 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.2354, allocations: 0.6767 MB / 1.202 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 8.777e-06/0.2354, allocations: 4 kB / 1.202 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.2354, allocations: 11.38 kB / 1.202 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of SimCode: time 8.42e-07/0.2354, allocations: 0 / 1.202 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.2503, allocations: 1.014 MB / 1.203 GB, free: 12.27 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.528/6.778, allocations: 4 kB / 1.203 GB, free: 12.27 MB / 0.8387 GB " [Timeout remaining time 653] (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: 11.273070431314409] Failed to read output from testmodel.py, exit status != 0: 6.853340041823685 6.862210582 6.629479906 Calling exit ...