Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.0008465/0.0008465, allocations: 105.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.0008265/0.0008265, allocations: 214.3 kB / 22.26 MB, free: 3.848 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.9055/0.9055, allocations: 230.6 MB / 256 MB, free: 3.574 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.03656/0.03656, allocations: 12.19 MB / 324.6 MB, free: 3.434 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.0004622/0.0004622, allocations: 32.42 kB / 384.1 MB, free: 45.89 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.661/1.661, allocations: 353.8 MB / 0.7787 GB, free: 13.11 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.Subtract,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_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.001457/0.001457, allocations: 120.7 kB / 1.06 GB, free: 9.867 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2372, allocations: 134.9 MB / 1.192 GB, free: 3.035 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002052/0.2393, allocations: 0.6894 MB / 1.192 GB, free: 2.348 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008243/0.2401, allocations: 0.8459 MB / 1.193 GB, free: 1.492 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.2401, allocations: 0 / 1.193 GB, free: 1.492 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.2402, allocations: 3.938 kB / 1.193 GB, free: 1.488 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.2402, allocations: 3.938 kB / 1.193 GB, free: 1.484 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 5.764e-05/0.2403, allocations: 19.97 kB / 1.193 GB, free: 1.465 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.484e-05/0.2404, allocations: 47.8 kB / 1.193 GB, free: 1.418 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2405, allocations: 4 kB / 1.193 GB, free: 1.414 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.2406, allocations: 15.98 kB / 1.193 GB, free: 1.398 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.173e-05/0.2406, allocations: 31.84 kB / 1.193 GB, free: 1.367 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2407, allocations: 4 kB / 1.193 GB, free: 1.363 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-06/0.2407, allocations: 0 / 1.193 GB, free: 1.363 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.2407, allocations: 8 kB / 1.193 GB, free: 1.355 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.2407, allocations: 23.91 kB / 1.193 GB, free: 1.332 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.74e-05/0.2408, allocations: 44.03 kB / 1.194 GB, free: 1.289 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2408, allocations: 0 / 1.194 GB, free: 1.289 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.996e-06/0.2408, allocations: 0 / 1.194 GB, free: 1.289 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.2408, allocations: 0 / 1.194 GB, free: 1.289 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.0003721/0.2412, allocations: 286.3 kB / 1.194 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 8.068e-05/0.2413, allocations: 11.98 kB / 1.194 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.442e-05/0.2414, allocations: 30.75 kB / 1.194 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.854e-05/0.2414, allocations: 12.83 kB / 1.194 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.897e-05/0.2415, allocations: 114.5 kB / 1.194 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2415, allocations: 4.312 kB / 1.194 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.2415, allocations: 8.375 kB / 1.194 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.2416, allocations: 62.22 kB / 1.194 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2416, allocations: 7.938 kB / 1.194 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.2416, allocations: 0 / 1.194 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2417, allocations: 0 / 1.194 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.2418, allocations: 63.92 kB / 1.194 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.2421, allocations: 243.9 kB / 1.194 GB, free: 356 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.2423, allocations: 58.48 kB / 1.194 GB, free: 288 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.821e-05/0.2424, allocations: 40.91 kB / 1.194 GB, free: 244 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.2424, allocations: 0 / 1.194 GB, free: 244 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.2424, allocations: 34.56 kB / 1.194 GB, free: 200 kB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2424, allocations: 4 kB / 1.194 GB, free: 196 kB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0003078/0.2427, allocations: 133.7 kB / 1.195 GB, free: 56 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.2428, allocations: 55.41 kB / 1.195 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.2428, allocations: 105.8 kB / 1.195 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.2428, allocations: 25.7 kB / 1.195 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.2429, allocations: 96.09 kB / 1.195 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.2429, allocations: 7.938 kB / 1.195 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.243, allocations: 13.72 kB / 1.195 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.2431, allocations: 318.8 kB / 1.195 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.2431, allocations: 31.91 kB / 1.195 GB, free: 15.37 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/0.2432, allocations: 39.95 kB / 1.195 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.2433, allocations: 64.73 kB / 1.195 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2433, allocations: 4 kB / 1.195 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001588/0.2435, allocations: 101.5 kB / 1.195 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2435, allocations: 8 kB / 1.195 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2435, allocations: 0 / 1.195 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2435, allocations: 0 / 1.195 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.2436, allocations: 15.98 kB / 1.195 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.2436, allocations: 0 / 1.195 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.2436, allocations: 11.94 kB / 1.195 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2436, allocations: 4 kB / 1.195 GB, free: 15.11 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 9.723e-05/0.2437, allocations: 121.8 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.2438, allocations: 4 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.2438, allocations: 8 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2438, allocations: 0 / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2438, allocations: 0 / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2438, allocations: 0 / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.2439, allocations: 140.7 kB / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2439, allocations: 3.938 kB / 1.196 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.2439, allocations: 19.97 kB / 1.196 GB, free: 14.76 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2439, allocations: 0 / 1.196 GB, free: 14.76 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.244, allocations: 8 kB / 1.196 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.244, allocations: 320 / 1.196 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.244, allocations: 4 kB / 1.196 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.2444, allocations: 195.3 kB / 1.196 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-06/0.2444, allocations: 3.938 kB / 1.196 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.2444, allocations: 7.984 kB / 1.196 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.2444, allocations: 15.98 kB / 1.196 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.2445, allocations: 0 / 1.196 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2445, allocations: 4 kB / 1.196 GB, free: 14.51 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.783e-05/0.2446, allocations: 91.25 kB / 1.196 GB, free: 14.42 MB / 0.8387 GB Notification: Performance of sort global known variables: time 3.066e-06/0.2446, allocations: 0 / 1.196 GB, free: 14.42 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001394/0.2447, allocations: 8 kB / 1.196 GB, free: 14.41 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.0003931/0.2451, allocations: 0.7279 MB / 1.197 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.2453, allocations: 71.92 kB / 1.197 GB, free: 13.59 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2453, allocations: 3.938 kB / 1.197 GB, free: 13.59 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.2454, allocations: 32.3 kB / 1.197 GB, free: 13.55 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.2457, allocations: 11.98 kB / 1.197 GB, free: 13.54 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.2461, allocations: 151 kB / 1.197 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.2463, allocations: 0.6885 MB / 1.198 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.2464, allocations: 96 / 1.198 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.2464, allocations: 23.42 kB / 1.198 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of SimCode: time 4.81e-07/0.2464, allocations: 0 / 1.198 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.2638, allocations: 1.745 MB / 1.199 GB, free: 11.01 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.241/6.505, allocations: 1.391 kB / 1.199 GB, free: 11.01 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.719160249456763] Failed to read output from testmodel.py, exit status != 0: 6.579774058423936 6.588539939 6.345806847 Calling exit ...