Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.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.0007584/0.0007584, 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.0008831/0.0008831, allocations: 208.1 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.863/0.863, 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.03543/0.03543, allocations: 12.19 MB / 324.6 MB, free: 6.102 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.0005054/0.0005054, allocations: 35.92 kB / 384.1 MB, free: 10.51 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.525/1.525, allocations: 353.9 MB / 0.7787 GB, free: 4.582 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.Integers.Validation.Subtract,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Subtract",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: 125.1 kB / 1.06 GB, free: 24.86 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2123, allocations: 134.9 MB / 1.192 GB, free: 7.527 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001471/0.2137, allocations: 0.7464 MB / 1.192 GB, free: 6.785 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000839/0.2146, allocations: 0.886 MB / 1.193 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.2146, allocations: 0 / 1.193 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.2147, allocations: 3.938 kB / 1.193 GB, free: 5.883 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.821e-05/0.2147, allocations: 15.86 kB / 1.193 GB, free: 5.867 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.2149, allocations: 47.89 kB / 1.193 GB, free: 5.82 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.927e-05/0.215, allocations: 79.88 kB / 1.193 GB, free: 5.742 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2151, allocations: 15.98 kB / 1.193 GB, free: 5.727 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.2152, allocations: 43.84 kB / 1.193 GB, free: 5.684 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/0.2152, allocations: 43.77 kB / 1.194 GB, free: 5.641 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.2152, allocations: 8 kB / 1.194 GB, free: 5.633 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.2153, allocations: 8 kB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.2153, allocations: 23.91 kB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.2153, allocations: 27.86 kB / 1.194 GB, free: 5.574 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2154, allocations: 87.94 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2154, allocations: 4 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2154, allocations: 4 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2154, allocations: 0 / 1.194 GB, free: 5.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004296/0.2159, allocations: 318 kB / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2159, allocations: 11.97 kB / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.2159, allocations: 34.75 kB / 1.194 GB, free: 5.086 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.216, allocations: 8.891 kB / 1.194 GB, free: 5.078 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.149e-05/0.2161, allocations: 130.4 kB / 1.194 GB, free: 4.926 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2161, allocations: 4.375 kB / 1.194 GB, free: 4.922 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.2161, allocations: 16.12 kB / 1.194 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.2163, allocations: 105.5 kB / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2163, allocations: 0 / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.2163, allocations: 0 / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2163, allocations: 0 / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.2165, allocations: 95.91 kB / 1.194 GB, free: 4.703 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.2169, allocations: 299.7 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.2172, allocations: 118.6 kB / 1.195 GB, free: 4.242 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.2173, allocations: 56.75 kB / 1.195 GB, free: 4.184 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.2174, allocations: 4 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.2174, allocations: 34.56 kB / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2174, allocations: 4 kB / 1.195 GB, free: 4.133 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.00038/0.2178, allocations: 185.5 kB / 1.195 GB, free: 3.945 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.2178, allocations: 51.41 kB / 1.195 GB, free: 3.883 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.2179, allocations: 121.8 kB / 1.195 GB, free: 3.754 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.2179, allocations: 25.7 kB / 1.195 GB, free: 3.723 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.2179, allocations: 100.1 kB / 1.195 GB, free: 3.621 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.2179, allocations: 23.8 kB / 1.195 GB, free: 3.598 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.218, allocations: 21.7 kB / 1.195 GB, free: 3.57 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.218, allocations: 322.8 kB / 1.196 GB, free: 3.246 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.2181, allocations: 51.83 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.13e-05/0.2182, allocations: 43.95 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.2184, allocations: 96.78 kB / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2184, allocations: 4 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002196/0.2186, allocations: 137.5 kB / 1.196 GB, free: 2.91 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2186, allocations: 4 kB / 1.196 GB, free: 2.906 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2186, allocations: 4 kB / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2187, allocations: 0 / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.2187, allocations: 31.91 kB / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2187, allocations: 3.938 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.2188, allocations: 11.98 kB / 1.196 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.2188, allocations: 7.984 kB / 1.196 GB, free: 2.848 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.614e-05/0.2189, allocations: 113.8 kB / 1.196 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.2189, allocations: 7.953 kB / 1.196 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.2189, allocations: 8.375 kB / 1.196 GB, free: 2.707 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2189, allocations: 4 kB / 1.196 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2189, allocations: 7.938 kB / 1.196 GB, free: 2.695 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2189, allocations: 0 / 1.196 GB, free: 2.695 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.2191, allocations: 156.7 kB / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2191, allocations: 0 / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.875e-05/0.2191, allocations: 23.97 kB / 1.196 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2191, allocations: 0 / 1.196 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2191, allocations: 4 kB / 1.196 GB, free: 2.473 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2191, allocations: 3.938 kB / 1.196 GB, free: 2.469 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2191, allocations: 4.484 kB / 1.196 GB, free: 2.465 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.2194, allocations: 247.3 kB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.2194, allocations: 7.891 kB / 1.197 GB, free: 2.199 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.2194, allocations: 0 / 1.197 GB, free: 2.199 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.2195, allocations: 19.97 kB / 1.197 GB, free: 2.18 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.2195, allocations: 27.91 kB / 1.197 GB, free: 2.152 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2196, allocations: 3.984 kB / 1.197 GB, free: 2.148 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.504e-05/0.2196, allocations: 95.7 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2196, allocations: 0 / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001506/0.2197, allocations: 19.94 kB / 1.197 GB, free: 2.035 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000445/0.2202, allocations: 0.7645 MB / 1.198 GB, free: 1.246 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.2204, allocations: 103.9 kB / 1.198 GB, free: 1.145 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2204, allocations: 0 / 1.198 GB, free: 1.145 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2205, allocations: 63.88 kB / 1.198 GB, free: 1.082 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.2208, allocations: 15.94 kB / 1.198 GB, free: 1.066 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2221, allocations: 1.545 MB / 1.199 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.233e-05/0.2221, allocations: 79.08 kB / 1.199 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.896e-05/0.2222, allocations: 12 kB / 1.199 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.2222, allocations: 27.41 kB / 1.199 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of SimCode: time 8.62e-07/0.2222, allocations: 0 / 1.199 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.2367, allocations: 3.362 MB / 1.203 GB, free: 12.09 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6/6.237, allocations: 6.078 kB / 1.203 GB, free: 12.09 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract_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_Integers_Validation_Subtract.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.22076921351254] Failed to read output from testmodel.py, exit status != 0: 6.311229513026774 6.319363866 6.101638188 Calling exit ...