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.0008511/0.0008511, 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.0009298/0.0009298, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.9295/0.9295, allocations: 230.6 MB / 256 MB, free: 9.625 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.03513/0.03513, allocations: 12.19 MB / 324.6 MB, free: 6.113 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.0003794/0.0003794, allocations: 27.94 kB / 384.1 MB, free: 10.54 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.646/1.646, allocations: 353.8 MB / 0.7787 GB, free: 4.574 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.001436/0.001436, allocations: 129.7 kB / 1.06 GB, free: 24.75 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2444, allocations: 134.9 MB / 1.192 GB, free: 7.484 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Add): time 0.001576/0.246, allocations: 0.7329 MB / 1.192 GB, free: 6.754 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.2468, allocations: 0.8899 MB / 1.193 GB, free: 5.852 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.2468, allocations: 0 / 1.193 GB, free: 5.852 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.2469, allocations: 7.922 kB / 1.193 GB, free: 5.844 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.372e-05/0.247, allocations: 11.88 kB / 1.193 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.2471, allocations: 43.94 kB / 1.193 GB, free: 5.789 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2472, allocations: 83.77 kB / 1.193 GB, free: 5.707 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.2474, allocations: 19.98 kB / 1.193 GB, free: 5.688 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.017e-05/0.2474, allocations: 31.91 kB / 1.193 GB, free: 5.656 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.2475, allocations: 47.83 kB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.2475, allocations: 12 kB / 1.194 GB, free: 5.598 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.2475, allocations: 8 kB / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.2476, allocations: 23.84 kB / 1.194 GB, free: 5.566 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.2476, allocations: 27.86 kB / 1.194 GB, free: 5.539 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.2477, allocations: 91.88 kB / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2477, allocations: 0 / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.644e-06/0.2477, allocations: 0 / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2477, allocations: 4 kB / 1.194 GB, free: 5.445 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.0004408/0.2482, allocations: 321.9 kB / 1.194 GB, free: 5.102 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2482, allocations: 12.03 kB / 1.194 GB, free: 5.09 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.2482, allocations: 38.75 kB / 1.194 GB, free: 5.043 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.2483, allocations: 8.891 kB / 1.194 GB, free: 5.035 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.908e-05/0.2484, allocations: 118.4 kB / 1.194 GB, free: 4.895 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.2484, allocations: 4.375 kB / 1.194 GB, free: 4.891 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.2484, allocations: 12.12 kB / 1.194 GB, free: 4.879 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.2486, allocations: 97.61 kB / 1.194 GB, free: 4.777 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2486, allocations: 4 kB / 1.194 GB, free: 4.773 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2486, allocations: 0 / 1.194 GB, free: 4.773 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2486, allocations: 4 kB / 1.194 GB, free: 4.77 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.2488, allocations: 101.6 kB / 1.194 GB, free: 4.672 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.2492, allocations: 299.7 kB / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.2496, allocations: 114.6 kB / 1.195 GB, free: 4.215 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2497, allocations: 56.81 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.2497, allocations: 4 kB / 1.195 GB, free: 4.152 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2497, allocations: 34.5 kB / 1.195 GB, free: 4.109 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2497, allocations: 0 / 1.195 GB, free: 4.109 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003826/0.2501, allocations: 189.7 kB / 1.195 GB, free: 3.918 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.2501, allocations: 51.41 kB / 1.195 GB, free: 3.855 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.718e-05/0.2502, allocations: 121.8 kB / 1.195 GB, free: 3.727 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2502, allocations: 29.64 kB / 1.195 GB, free: 3.691 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.2502, allocations: 100.1 kB / 1.195 GB, free: 3.59 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.2503, allocations: 23.8 kB / 1.195 GB, free: 3.566 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.2503, allocations: 21.7 kB / 1.195 GB, free: 3.539 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.2504, allocations: 318.8 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.2505, allocations: 47.95 kB / 1.196 GB, free: 3.172 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.845e-05/0.2505, allocations: 55.95 kB / 1.196 GB, free: 3.117 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.2507, allocations: 88.78 kB / 1.196 GB, free: 3.027 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2507, allocations: 0 / 1.196 GB, free: 3.027 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002131/0.2509, allocations: 145.5 kB / 1.196 GB, free: 2.879 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2509, allocations: 4 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.251, allocations: 0 / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.251, allocations: 4 kB / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.251, allocations: 23.97 kB / 1.196 GB, free: 2.848 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2511, allocations: 3.938 kB / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.2511, allocations: 15.98 kB / 1.196 GB, free: 2.828 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.2511, allocations: 7.922 kB / 1.196 GB, free: 2.82 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.898e-05/0.2512, allocations: 117.8 kB / 1.196 GB, free: 2.695 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.2512, allocations: 7.953 kB / 1.196 GB, free: 2.688 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.2512, allocations: 8.375 kB / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2512, allocations: 4 kB / 1.196 GB, free: 2.672 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2512, allocations: 11.88 kB / 1.196 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2512, allocations: 7.969 kB / 1.196 GB, free: 2.652 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.2514, allocations: 148.7 kB / 1.196 GB, free: 2.465 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2514, allocations: 0 / 1.196 GB, free: 2.465 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.2514, allocations: 27.97 kB / 1.196 GB, free: 2.438 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2514, allocations: 8 kB / 1.196 GB, free: 2.43 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.2514, allocations: 0 / 1.196 GB, free: 2.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.2514, allocations: 0 / 1.196 GB, free: 2.43 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2514, allocations: 3.938 kB / 1.196 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.2517, allocations: 235.3 kB / 1.197 GB, free: 2.18 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.2517, allocations: 11.89 kB / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.2517, allocations: 7.938 kB / 1.197 GB, free: 2.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.2518, allocations: 19.97 kB / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.2518, allocations: 23.91 kB / 1.197 GB, free: 2.117 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.2518, allocations: 4 kB / 1.197 GB, free: 2.113 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.2519, allocations: 95.27 kB / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.2519, allocations: 0 / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001476/0.252, allocations: 16 kB / 1.197 GB, free: 2.004 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.0004318/0.2525, allocations: 0.7645 MB / 1.198 GB, free: 1.215 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.2527, allocations: 99.89 kB / 1.198 GB, free: 1.117 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2527, allocations: 4 kB / 1.198 GB, free: 1.113 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.2528, allocations: 59.89 kB / 1.198 GB, free: 1.055 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.253, allocations: 24.62 kB / 1.198 GB, free: 1.031 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.2545, allocations: 1.537 MB / 1.199 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/0.2545, allocations: 83.08 kB / 1.199 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.574e-05/0.2545, allocations: 11.98 kB / 1.199 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.2546, allocations: 31.42 kB / 1.199 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of SimCode: time 7.51e-07/0.2546, allocations: 0 / 1.199 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.2699, allocations: 3.356 MB / 1.203 GB, free: 12.06 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/6.865, allocations: 5.156 kB / 1.203 GB, free: 12.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.143458731472492] Failed to read output from testmodel.py, exit status != 0: 6.940774388611317 6.94963617 6.700131919 Calling exit ...