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.001008/0.001008, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001011/0.001011, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9294/0.9294, allocations: 230.6 MB / 256 MB, free: 9.613 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.03649/0.03649, allocations: 12.17 MB / 324.6 MB, free: 6.281 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.000425/0.000425, allocations: 23.95 kB / 384.1 MB, free: 10.69 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.649/1.649, allocations: 353.8 MB / 0.7787 GB, free: 3.141 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.00149/0.00149, allocations: 119.3 kB / 1.06 GB, free: 25.02 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2414, allocations: 134.9 MB / 1.192 GB, free: 7.887 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001748/0.2431, allocations: 0.7679 MB / 1.193 GB, free: 7.121 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000922/0.244, allocations: 0.8899 MB / 1.193 GB, free: 6.219 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.2441, allocations: 4 kB / 1.193 GB, free: 6.215 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.2441, allocations: 7.922 kB / 1.193 GB, free: 6.207 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.2443, allocations: 11.88 kB / 1.193 GB, free: 6.195 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.2444, allocations: 39.94 kB / 1.193 GB, free: 6.156 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.2445, allocations: 87.77 kB / 1.194 GB, free: 6.07 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2446, allocations: 19.98 kB / 1.194 GB, free: 6.051 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.2447, allocations: 39.84 kB / 1.194 GB, free: 6.012 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.2448, allocations: 47.83 kB / 1.194 GB, free: 5.965 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.2448, allocations: 8 kB / 1.194 GB, free: 5.957 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.2448, allocations: 12 kB / 1.194 GB, free: 5.945 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.2448, allocations: 23.91 kB / 1.194 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.2449, allocations: 35.8 kB / 1.194 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.245, allocations: 91.88 kB / 1.194 GB, free: 5.797 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.245, allocations: 0 / 1.194 GB, free: 5.797 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.754e-06/0.245, allocations: 0 / 1.194 GB, free: 5.797 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.245, allocations: 0 / 1.194 GB, free: 5.797 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.000541/0.2456, allocations: 318 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2456, allocations: 16.03 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.2456, allocations: 34.75 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.2457, allocations: 8.891 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2458, allocations: 118.4 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2458, allocations: 4.375 kB / 1.194 GB, free: 5.246 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.2458, allocations: 12.12 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.246, allocations: 101.6 kB / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.246, allocations: 0 / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.246, allocations: 0 / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.2461, allocations: 4 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.2463, allocations: 95.91 kB / 1.194 GB, free: 5.031 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.2467, allocations: 323.6 kB / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.247, allocations: 118.6 kB / 1.195 GB, free: 4.547 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2471, allocations: 56.81 kB / 1.195 GB, free: 4.488 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2472, allocations: 0 / 1.195 GB, free: 4.488 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.2472, allocations: 38.48 kB / 1.195 GB, free: 4.441 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.2472, allocations: 4 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0004666/0.2476, allocations: 185.5 kB / 1.195 GB, free: 4.25 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.2477, allocations: 55.34 kB / 1.195 GB, free: 4.184 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.2478, allocations: 125.7 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.2478, allocations: 25.7 kB / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.2478, allocations: 104.1 kB / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.2479, allocations: 19.8 kB / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.2479, allocations: 21.7 kB / 1.196 GB, free: 3.867 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003963/0.2483, allocations: 322.8 kB / 1.196 GB, free: 3.543 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.2484, allocations: 43.95 kB / 1.196 GB, free: 3.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.707e-05/0.2485, allocations: 52.25 kB / 1.196 GB, free: 3.449 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.2487, allocations: 96.72 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2487, allocations: 0 / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002143/0.2489, allocations: 141.5 kB / 1.196 GB, free: 3.207 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2489, allocations: 8 kB / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2489, allocations: 0 / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2489, allocations: 4 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.249, allocations: 23.97 kB / 1.196 GB, free: 3.172 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.249, allocations: 3.938 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.2491, allocations: 11.98 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.2491, allocations: 7.984 kB / 1.196 GB, free: 3.148 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 7.902e-05/0.2492, allocations: 121.8 kB / 1.196 GB, free: 3.02 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.2492, allocations: 7.953 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.2492, allocations: 8.375 kB / 1.196 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2492, allocations: 0 / 1.196 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2492, allocations: 7.938 kB / 1.196 GB, free: 2.992 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2492, allocations: 0 / 1.196 GB, free: 2.992 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.2493, allocations: 164.7 kB / 1.196 GB, free: 2.789 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2493, allocations: 0 / 1.196 GB, free: 2.789 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.511e-05/0.2494, allocations: 23.97 kB / 1.197 GB, free: 2.766 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.2494, allocations: 4 kB / 1.197 GB, free: 2.762 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.2494, allocations: 7.938 kB / 1.197 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2495, allocations: 0 / 1.197 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2495, allocations: 3.938 kB / 1.197 GB, free: 2.75 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.2497, allocations: 235.3 kB / 1.197 GB, free: 2.504 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.2497, allocations: 19.88 kB / 1.197 GB, free: 2.484 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.2497, allocations: 0 / 1.197 GB, free: 2.484 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/0.2498, allocations: 15.98 kB / 1.197 GB, free: 2.469 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.2499, allocations: 19.91 kB / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.2499, allocations: 12 kB / 1.197 GB, free: 2.438 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.2499, allocations: 91.27 kB / 1.197 GB, free: 2.348 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.1e-08/0.2499, allocations: 0 / 1.197 GB, free: 2.348 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001527/0.2501, allocations: 12 kB / 1.197 GB, free: 2.336 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.0005819/0.2507, allocations: 0.7747 MB / 1.198 GB, free: 1.535 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.2509, allocations: 107.9 kB / 1.198 GB, free: 1.43 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2509, allocations: 0 / 1.198 GB, free: 1.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.938e-05/0.251, allocations: 51.95 kB / 1.198 GB, free: 1.379 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.2513, allocations: 24.62 kB / 1.198 GB, free: 1.355 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.2527, allocations: 1.542 MB / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.253, allocations: 0.6924 MB / 1.2 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.755e-05/0.253, allocations: 15.73 kB / 1.2 GB, free: 15 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.2531, allocations: 31.42 kB / 1.2 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of SimCode: time 7.92e-07/0.2531, allocations: 0 / 1.2 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.272, allocations: 2.857 MB / 1.203 GB, free: 12.25 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.331/6.603, allocations: 5.547 kB / 1.203 GB, free: 12.25 MB / 0.8387 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.843558255583048] Failed to read output from testmodel.py, exit status != 0: 6.679119763895869 6.688743489 6.441895302 Calling exit ...