Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.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.0007948/0.0007948, 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.0008991/0.0008991, allocations: 222.3 kB / 22.26 MB, free: 3.691 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.9967/0.9967, allocations: 230.6 MB / 256 MB, free: 9.801 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.03735/0.03735, allocations: 12.18 MB / 324.6 MB, free: 6.285 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.000524/0.000524, allocations: 31.94 kB / 384.1 MB, free: 10.7 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.733/1.733, allocations: 353.8 MB / 0.7787 GB, free: 3.117 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.Add,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Add",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.001504/0.001504, allocations: 122.3 kB / 1.06 GB, free: 25.03 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2346, allocations: 134.9 MB / 1.192 GB, free: 7.863 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Add): time 0.001767/0.2364, allocations: 0.7601 MB / 1.193 GB, free: 7.105 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.2373, allocations: 0.8977 MB / 1.193 GB, free: 6.195 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.2374, allocations: 0 / 1.193 GB, free: 6.195 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.2374, allocations: 3.938 kB / 1.193 GB, free: 6.191 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.437e-05/0.2375, allocations: 11.88 kB / 1.193 GB, free: 6.18 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.2377, allocations: 47.88 kB / 1.193 GB, free: 6.133 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2378, allocations: 83.83 kB / 1.194 GB, free: 6.051 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2379, allocations: 23.97 kB / 1.194 GB, free: 6.027 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.238, allocations: 43.8 kB / 1.194 GB, free: 5.984 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.238, allocations: 47.81 kB / 1.194 GB, free: 5.938 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.2381, allocations: 8 kB / 1.194 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.2381, allocations: 12 kB / 1.194 GB, free: 5.918 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.2381, allocations: 19.92 kB / 1.194 GB, free: 5.898 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.2381, allocations: 35.86 kB / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.2383, allocations: 87.88 kB / 1.194 GB, free: 5.777 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2383, allocations: 0 / 1.194 GB, free: 5.777 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2383, allocations: 0 / 1.194 GB, free: 5.777 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2383, allocations: 0 / 1.194 GB, free: 5.777 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.0004623/0.2387, allocations: 318 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2388, allocations: 12.03 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.2388, allocations: 38.75 kB / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.2388, allocations: 12.88 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.2389, allocations: 118.4 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.239, allocations: 8.375 kB / 1.194 GB, free: 5.219 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.239, allocations: 8.125 kB / 1.194 GB, free: 5.211 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2392, allocations: 101.6 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2392, allocations: 0 / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.2392, allocations: 8 kB / 1.194 GB, free: 5.098 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2392, allocations: 0 / 1.194 GB, free: 5.098 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.2394, allocations: 95.89 kB / 1.194 GB, free: 5.004 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.2398, allocations: 311.7 kB / 1.195 GB, free: 4.656 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.2402, allocations: 126.5 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2403, allocations: 56.81 kB / 1.195 GB, free: 4.465 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.2404, allocations: 3.984 kB / 1.195 GB, free: 4.461 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.2404, allocations: 30.56 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.2404, allocations: 7.938 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0004163/0.2408, allocations: 181.5 kB / 1.195 GB, free: 4.23 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2408, allocations: 55.34 kB / 1.195 GB, free: 4.164 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.2409, allocations: 121.8 kB / 1.195 GB, free: 4.035 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.2409, allocations: 37.69 kB / 1.195 GB, free: 3.992 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.241, allocations: 92.09 kB / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.241, allocations: 23.8 kB / 1.195 GB, free: 3.875 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.241, allocations: 25.64 kB / 1.196 GB, free: 3.844 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.2411, allocations: 322.8 kB / 1.196 GB, free: 3.52 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.723e-05/0.2412, allocations: 43.95 kB / 1.196 GB, free: 3.477 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/0.2413, allocations: 47.95 kB / 1.196 GB, free: 3.43 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.2415, allocations: 96.77 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2415, allocations: 0 / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002335/0.2417, allocations: 137.5 kB / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2418, allocations: 4 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2418, allocations: 0 / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2418, allocations: 0 / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.2419, allocations: 27.91 kB / 1.196 GB, free: 3.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2419, allocations: 3.938 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.2419, allocations: 19.97 kB / 1.196 GB, free: 3.137 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.2419, allocations: 4 kB / 1.196 GB, free: 3.133 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,add1.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.81e-05/0.242, allocations: 117.8 kB / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.242, allocations: 3.953 kB / 1.196 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.242, allocations: 12.38 kB / 1.196 GB, free: 2.988 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.242, allocations: 0 / 1.196 GB, free: 2.988 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.242, allocations: 3.938 kB / 1.196 GB, free: 2.984 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.242, allocations: 7.969 kB / 1.196 GB, free: 2.977 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.2422, allocations: 164.7 kB / 1.196 GB, free: 2.773 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2422, allocations: 0 / 1.196 GB, free: 2.773 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.2422, allocations: 27.97 kB / 1.197 GB, free: 2.746 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.2422, allocations: 4 kB / 1.197 GB, free: 2.742 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2422, allocations: 11.92 kB / 1.197 GB, free: 2.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.2422, allocations: 4 kB / 1.197 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2422, allocations: 3.938 kB / 1.197 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.2425, allocations: 235.3 kB / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.2425, allocations: 11.89 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.2425, allocations: 8 kB / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.2426, allocations: 7.984 kB / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.2427, allocations: 27.91 kB / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.2427, allocations: 0 / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.128e-05/0.2427, allocations: 99.64 kB / 1.197 GB, free: 2.324 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2427, allocations: 0 / 1.197 GB, free: 2.324 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001538/0.2429, allocations: 19.94 kB / 1.197 GB, free: 2.305 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 (add1.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.0004544/0.2433, allocations: 0.7676 MB / 1.198 GB, free: 1.512 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.2435, allocations: 108 kB / 1.198 GB, free: 1.406 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2436, allocations: 0 / 1.198 GB, free: 1.406 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.2437, allocations: 67.88 kB / 1.198 GB, free: 1.34 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.2439, allocations: 15.31 kB / 1.198 GB, free: 1.328 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.2453, allocations: 1.542 MB / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.2455, allocations: 0.6885 MB / 1.2 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.548e-05/0.2456, allocations: 15.75 kB / 1.2 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.2457, allocations: 31.42 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of SimCode: time 6.11e-07/0.2457, allocations: 4 kB / 1.2 GB, free: 14.94 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.2609, allocations: 2.846 MB / 1.203 GB, free: 12.23 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.45/6.711, allocations: 14.03 kB / 1.203 GB, free: 12.22 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add_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_Add.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.35667518246919] Failed to read output from testmodel.py, exit status != 0: 6.7898241160437465 6.803869132 6.563171538 Calling exit ...