Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.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.0008861/0.0008861, allocations: 96.36 kB / 19.7 MB, free: 456 kB / 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.0009675/0.0009675, allocations: 211.5 kB / 23 MB, free: 2.969 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 1.033/1.033, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.03623/0.03623, allocations: 12.19 MB / 325.4 MB, free: 6.051 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.0005405/0.0005405, allocations: 27.95 kB / 384.8 MB, free: 10.48 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.81/1.81, allocations: 353.8 MB / 0.7794 GB, free: 4.523 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: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp") [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.002125/0.002125, allocations: 121.4 kB / 1.061 GB, free: 24.32 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2536, allocations: 134.9 MB / 1.193 GB, free: 6.934 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001538/0.2551, allocations: 0.6477 MB / 1.194 GB, free: 6.289 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.2559, allocations: 0.8436 MB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.2559, allocations: 4 kB / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.2559, allocations: 3.938 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.256, allocations: 7.938 kB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.2562, allocations: 7.984 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.2563, allocations: 27.92 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.2564, allocations: 0 / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.2564, allocations: 11.94 kB / 1.194 GB, free: 5.371 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.901e-05/0.2565, allocations: 11.97 kB / 1.194 GB, free: 5.359 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.2565, allocations: 0 / 1.194 GB, free: 5.359 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.05e-05/0.2565, allocations: 4 kB / 1.194 GB, free: 5.355 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.2565, allocations: 11.94 kB / 1.194 GB, free: 5.344 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.2566, allocations: 11.98 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.2567, allocations: 27.84 kB / 1.195 GB, free: 5.305 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2567, allocations: 0 / 1.195 GB, free: 5.305 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2567, allocations: 0 / 1.195 GB, free: 5.305 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2567, allocations: 0 / 1.195 GB, free: 5.305 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003505/0.257, allocations: 254.4 kB / 1.195 GB, free: 5.023 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2571, allocations: 12.03 kB / 1.195 GB, free: 5.012 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.2571, allocations: 8.828 kB / 1.195 GB, free: 5.004 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.713e-05/0.2572, allocations: 110.5 kB / 1.195 GB, free: 4.871 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2572, allocations: 384 / 1.195 GB, free: 4.871 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.2572, allocations: 4.375 kB / 1.195 GB, free: 4.867 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.2574, allocations: 50.19 kB / 1.195 GB, free: 4.812 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2574, allocations: 192 / 1.195 GB, free: 4.812 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2574, allocations: 7.922 kB / 1.195 GB, free: 4.805 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2574, allocations: 4 kB / 1.195 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.2575, allocations: 27.97 kB / 1.195 GB, free: 4.773 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.2578, allocations: 196.6 kB / 1.195 GB, free: 4.551 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.284e-05/0.2578, allocations: 46.48 kB / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.2579, allocations: 24.91 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.2579, allocations: 3.938 kB / 1.195 GB, free: 4.465 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.2579, allocations: 34.5 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.2579, allocations: 0 / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002166/0.2581, allocations: 81.59 kB / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.2582, allocations: 59.53 kB / 1.195 GB, free: 4.266 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.2582, allocations: 101.8 kB / 1.196 GB, free: 4.156 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.2582, allocations: 29.64 kB / 1.196 GB, free: 4.121 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.2583, allocations: 84.14 kB / 1.196 GB, free: 4.035 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.2583, allocations: 7.891 kB / 1.196 GB, free: 4.027 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.2583, allocations: 13.72 kB / 1.196 GB, free: 4.008 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.2584, allocations: 318.8 kB / 1.196 GB, free: 3.688 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.206e-05/0.2584, allocations: 15.98 kB / 1.196 GB, free: 3.672 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.2588, allocations: 15.98 kB / 1.196 GB, free: 3.656 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.512e-05/0.2589, allocations: 40.89 kB / 1.196 GB, free: 3.613 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2589, allocations: 0 / 1.196 GB, free: 3.613 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001007/0.259, allocations: 65.59 kB / 1.196 GB, free: 3.543 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.259, allocations: 9.875 kB / 1.196 GB, free: 3.535 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.259, allocations: 0 / 1.196 GB, free: 3.535 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.259, allocations: 0 / 1.196 GB, free: 3.535 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.2591, allocations: 19.95 kB / 1.196 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2591, allocations: 0 / 1.196 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.2591, allocations: 7.984 kB / 1.196 GB, free: 3.508 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.2591, allocations: 4 kB / 1.196 GB, free: 3.504 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.235e-05/0.2591, allocations: 105.8 kB / 1.196 GB, free: 3.391 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.2592, allocations: 11.94 kB / 1.196 GB, free: 3.379 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.2593, allocations: 64.97 kB / 1.196 GB, free: 3.309 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2593, allocations: 4.031 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2593, allocations: 0 / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2593, allocations: 0 / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.106e-05/0.2594, allocations: 109.3 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2594, allocations: 3.938 kB / 1.196 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.2594, allocations: 7.984 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2594, allocations: 3.938 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.2594, allocations: 3.938 kB / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2594, allocations: 4 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2594, allocations: 0 / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.2595, allocations: 167.5 kB / 1.197 GB, free: 2.965 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.2595, allocations: 7.875 kB / 1.197 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.2595, allocations: 0 / 1.197 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.2596, allocations: 7.984 kB / 1.197 GB, free: 2.949 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.2596, allocations: 4 kB / 1.197 GB, free: 2.945 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.2596, allocations: 0 / 1.197 GB, free: 2.945 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.065e-05/0.2597, allocations: 87.27 kB / 1.197 GB, free: 2.859 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2597, allocations: 0 / 1.197 GB, free: 2.859 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001376/0.2598, allocations: 4 kB / 1.197 GB, free: 2.855 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 9.747e-05/0.2599, allocations: 95.28 kB / 1.197 GB, free: 2.75 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.26, allocations: 35.91 kB / 1.197 GB, free: 2.715 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.26, allocations: 0 / 1.197 GB, free: 2.715 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.2601, allocations: 23.97 kB / 1.197 GB, free: 2.691 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.2603, allocations: 0 / 1.197 GB, free: 2.691 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.2605, allocations: 143.3 kB / 1.197 GB, free: 2.52 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.2606, allocations: 55.36 kB / 1.197 GB, free: 2.445 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.2606, allocations: 11.42 kB / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/0.2606, allocations: 0 / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of Templates: time 0.001466/0.2621, allocations: 0.5572 MB / 1.198 GB, free: 1.875 MB / 0.823 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.528365686535835] Failed to read output from testmodel.py, exit status != 0: 0.26907498855143785 0.275839871 0.017497925 Calling exit ...