Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.0009771/0.0009771, 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.0009987/0.0009987, allocations: 214.6 kB / 22.26 MB, free: 3.852 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.9451/0.9451, allocations: 230.6 MB / 256 MB, free: 3.469 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.03936/0.03936, allocations: 12.19 MB / 324.6 MB, free: 3.438 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.0004921/0.0004921, allocations: 31.52 kB / 384.1 MB, free: 45.91 MB / 298.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.714/1.714, allocations: 353.8 MB / 0.7787 GB, free: 13.09 MB / 0.5262 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.Reals.Validation.Add,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_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.00172/0.00172, allocations: 115.6 kB / 1.06 GB, free: 9.867 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2353, allocations: 134.9 MB / 1.192 GB, free: 3.055 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Add): time 0.001489/0.2368, allocations: 0.6944 MB / 1.192 GB, free: 2.359 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007304/0.2376, allocations: 0.8382 MB / 1.193 GB, free: 1.512 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.2376, allocations: 0 / 1.193 GB, free: 1.512 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.2376, allocations: 7.938 kB / 1.193 GB, free: 1.504 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.2377, allocations: 11.92 kB / 1.193 GB, free: 1.492 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 6.079e-05/0.2378, allocations: 7.984 kB / 1.193 GB, free: 1.484 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.2379, allocations: 47.86 kB / 1.193 GB, free: 1.438 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.238, allocations: 7.984 kB / 1.193 GB, free: 1.43 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.738e-05/0.238, allocations: 19.94 kB / 1.193 GB, free: 1.41 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.2381, allocations: 23.89 kB / 1.193 GB, free: 1.387 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.2381, allocations: 4 kB / 1.193 GB, free: 1.383 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-06/0.2381, allocations: 4 kB / 1.193 GB, free: 1.379 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.2381, allocations: 11.94 kB / 1.193 GB, free: 1.367 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.2381, allocations: 15.92 kB / 1.193 GB, free: 1.352 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.11e-05/0.2382, allocations: 39.67 kB / 1.193 GB, free: 1.316 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2382, allocations: 0 / 1.193 GB, free: 1.316 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2382, allocations: 7.938 kB / 1.194 GB, free: 1.309 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.485e-06/0.2382, allocations: 0 / 1.194 GB, free: 1.309 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003763/0.2386, allocations: 282.5 kB / 1.194 GB, free: 1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2386, allocations: 15.98 kB / 1.194 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.2387, allocations: 30.75 kB / 1.194 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.2387, allocations: 16.81 kB / 1.194 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.816e-05/0.2388, allocations: 106.5 kB / 1.194 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2388, allocations: 8.375 kB / 1.194 GB, free: 0.793 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.2388, allocations: 4.375 kB / 1.194 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.239, allocations: 62.22 kB / 1.194 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.239, allocations: 7.938 kB / 1.194 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.239, allocations: 7.984 kB / 1.194 GB, free: 0.707 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.239, allocations: 0 / 1.194 GB, free: 0.707 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.2391, allocations: 67.92 kB / 1.194 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.2394, allocations: 243.9 kB / 1.194 GB, free: 368 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.2395, allocations: 54.55 kB / 1.194 GB, free: 304 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.2396, allocations: 40.91 kB / 1.194 GB, free: 260 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.2396, allocations: 4 kB / 1.194 GB, free: 256 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2396, allocations: 34.56 kB / 1.194 GB, free: 212 kB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2396, allocations: 0 / 1.194 GB, free: 212 kB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002844/0.2399, allocations: 129.5 kB / 1.195 GB, free: 76 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.24, allocations: 55.41 kB / 1.195 GB, free: 8 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.24, allocations: 113.8 kB / 1.195 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.24, allocations: 25.7 kB / 1.195 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.2401, allocations: 88.09 kB / 1.195 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.2401, allocations: 7.953 kB / 1.195 GB, free: 15.76 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.2401, allocations: 13.72 kB / 1.195 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.2402, allocations: 322.8 kB / 1.195 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.259e-05/0.2403, allocations: 31.97 kB / 1.195 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.2403, allocations: 31.95 kB / 1.195 GB, free: 15.35 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.2405, allocations: 72.72 kB / 1.195 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2405, allocations: 0 / 1.195 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001598/0.2406, allocations: 101.6 kB / 1.195 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2406, allocations: 4 kB / 1.195 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2406, allocations: 0 / 1.195 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2406, allocations: 4 kB / 1.195 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/0.2407, allocations: 15.92 kB / 1.195 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2407, allocations: 0 / 1.195 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.2408, allocations: 19.94 kB / 1.195 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2408, allocations: 0 / 1.195 GB, free: 15.13 MB / 0.8387 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 (3): * Single equations (assignments): 3 * 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.284e-05/0.2408, allocations: 122.6 kB / 1.196 GB, free: 15 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.2408, allocations: 0 / 1.196 GB, free: 15 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.2409, allocations: 8 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.2409, allocations: 4 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2409, allocations: 0 / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2409, allocations: 0 / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.241, allocations: 148.6 kB / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.241, allocations: 4 kB / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.241, allocations: 23.91 kB / 1.196 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.241, allocations: 336 / 1.196 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.241, allocations: 0 / 1.196 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.241, allocations: 0 / 1.196 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.241, allocations: 0 / 1.196 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.2412, allocations: 199.4 kB / 1.196 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.2412, allocations: 7.984 kB / 1.196 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.2412, allocations: 4 kB / 1.196 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.2413, allocations: 11.98 kB / 1.196 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.2413, allocations: 0 / 1.196 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.2413, allocations: 0 / 1.196 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.019e-05/0.2414, allocations: 91.27 kB / 1.196 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2414, allocations: 4 kB / 1.196 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001411/0.2415, allocations: 4 kB / 1.196 GB, free: 14.43 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000627/0.2421, allocations: 0.7318 MB / 1.197 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.2423, allocations: 63.92 kB / 1.197 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2423, allocations: 0 / 1.197 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.743e-05/0.2424, allocations: 35.91 kB / 1.197 GB, free: 13.58 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.2426, allocations: 22 kB / 1.197 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.243, allocations: 155.1 kB / 1.197 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.2431, allocations: 0.6846 MB / 1.198 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.2432, allocations: 0 / 1.198 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.2432, allocations: 11.44 kB / 1.198 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of SimCode: time 5.71e-07/0.2432, allocations: 3.938 kB / 1.198 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.2611, allocations: 1.746 MB / 1.199 GB, free: 11.03 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.71/6.971, allocations: 1.094 kB / 1.199 GB, free: 11.03 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.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_Reals_Validation_Add.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.500311149284244] Failed to read output from testmodel.py, exit status != 0: 7.049933852627873 7.061561626 6.821611177 Calling exit ...