Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.0008666/0.0008666, allocations: 115 kB / 19.7 MB, free: 0.5234 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.0009826/0.0009826, allocations: 215.6 kB / 23.01 MB, free: 3.105 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.9381/0.9381, allocations: 230.6 MB / 256.8 MB, free: 3.434 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.03866/0.03866, allocations: 12.19 MB / 325.4 MB, free: 3.43 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.00043/0.00043, allocations: 32.38 kB / 384.9 MB, free: 45.8 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.657/1.657, allocations: 353.8 MB / 0.7795 GB, free: 13.06 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: translateModel(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [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.001443/0.001443, allocations: 123.7 kB / 1.061 GB, free: 9.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2307, allocations: 134.9 MB / 1.193 GB, free: 2.621 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001404/0.2321, allocations: 0.602 MB / 1.194 GB, free: 2.023 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2332, allocations: 1.165 MB / 1.195 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.2332, allocations: 0 / 1.195 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.2333, allocations: 3.938 kB / 1.195 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.113e-05/0.2333, allocations: 7.938 kB / 1.195 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.2337, allocations: 126.4 kB / 1.195 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.2338, allocations: 91.83 kB / 1.195 GB, free: 0.625 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.2339, allocations: 0 / 1.195 GB, free: 0.625 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.234, allocations: 39.91 kB / 1.195 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.2341, allocations: 39.89 kB / 1.195 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.2341, allocations: 8 kB / 1.195 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.567e-05/0.2342, allocations: 23.92 kB / 1.195 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.2342, allocations: 11.98 kB / 1.195 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.2342, allocations: 31.91 kB / 1.195 GB, free: 484 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.2344, allocations: 83.72 kB / 1.195 GB, free: 400 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2344, allocations: 0 / 1.195 GB, free: 400 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2344, allocations: 0 / 1.195 GB, free: 400 kB / 0.823 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.2344, allocations: 0 / 1.195 GB, free: 400 kB / 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.0003483/0.2347, allocations: 300 kB / 1.195 GB, free: 60 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2348, allocations: 19.98 kB / 1.195 GB, free: 40 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.2348, allocations: 4.938 kB / 1.195 GB, free: 36 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.223e-05/0.2349, allocations: 110.4 kB / 1.196 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.2349, allocations: 8.375 kB / 1.196 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.2349, allocations: 8.312 kB / 1.196 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.858e-05/0.235, allocations: 42.25 kB / 1.196 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.235, allocations: 4.125 kB / 1.196 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.235, allocations: 3.938 kB / 1.196 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.235, allocations: 0 / 1.196 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.08e-05/0.2351, allocations: 7.984 kB / 1.196 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.2354, allocations: 264 kB / 1.196 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.71e-05/0.2354, allocations: 34.5 kB / 1.196 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.2354, allocations: 8.922 kB / 1.196 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.2354, allocations: 0 / 1.196 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.2356, allocations: 67.33 kB / 1.196 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2356, allocations: 0 / 1.196 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of matching and sorting (n=4): time 0.00017/0.2357, allocations: 69.64 kB / 1.196 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.2358, allocations: 51.41 kB / 1.196 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.2358, allocations: 109.8 kB / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.2358, allocations: 25.7 kB / 1.196 GB, free: 15.11 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.2359, allocations: 96.06 kB / 1.196 GB, free: 15.01 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.2359, allocations: 3.953 kB / 1.196 GB, free: 15 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.2359, allocations: 29.7 kB / 1.196 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.236, allocations: 322.8 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.2361, allocations: 27.98 kB / 1.197 GB, free: 14.62 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.2361, allocations: 50.55 kB / 1.197 GB, free: 14.56 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.636e-05/0.2362, allocations: 88.33 kB / 1.197 GB, free: 14.46 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2362, allocations: 7.875 kB / 1.197 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001756/0.2364, allocations: 159.2 kB / 1.197 GB, free: 14.28 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.2364, allocations: 37.64 kB / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2364, allocations: 4 kB / 1.197 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2365, allocations: 0 / 1.197 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.2365, allocations: 7.984 kB / 1.197 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2365, allocations: 0 / 1.197 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.2366, allocations: 23.97 kB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2367, allocations: 8.062 kB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.828e-05/0.2367, allocations: 117.8 kB / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.2367, allocations: 7.953 kB / 1.197 GB, free: 14.06 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.2368, allocations: 11.98 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2368, allocations: 4.172 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2368, allocations: 4 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2368, allocations: 3.984 kB / 1.197 GB, free: 14.03 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.56e-05/0.2369, allocations: 128.7 kB / 1.197 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2369, allocations: 4 kB / 1.197 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.2369, allocations: 7.984 kB / 1.197 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2369, allocations: 0 / 1.197 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2369, allocations: 0 / 1.197 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2369, allocations: 7.938 kB / 1.197 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2369, allocations: 0 / 1.197 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.982e-05/0.237, allocations: 85.06 kB / 1.197 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.237, allocations: 3.953 kB / 1.197 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.237, allocations: 7.984 kB / 1.197 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.237, allocations: 4 kB / 1.197 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.2371, allocations: 0 / 1.197 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.2371, allocations: 4 kB / 1.197 GB, free: 13.72 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.113e-05/0.2371, allocations: 91.27 kB / 1.198 GB, free: 13.63 MB / 0.8387 GB Notification: Performance of sort global known variables: time 4e-08/0.2371, allocations: 0 / 1.198 GB, free: 13.63 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001422/0.2372, allocations: 19.94 kB / 1.198 GB, free: 13.61 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000118/0.2373, allocations: 99.25 kB / 1.198 GB, free: 13.51 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.2375, allocations: 115.3 kB / 1.198 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2375, allocations: 4.125 kB / 1.198 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.2376, allocations: 12 kB / 1.198 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.2377, allocations: 12.55 kB / 1.198 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.238, allocations: 159.8 kB / 1.198 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.2382, allocations: 0.6807 MB / 1.199 GB, free: 12.46 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.2382, allocations: 7.438 kB / 1.199 GB, free: 12.45 MB / 0.8387 GB Notification: Performance of SimCode: time 7.71e-07/0.2382, allocations: 4 kB / 1.199 GB, free: 12.45 MB / 0.8387 GB Notification: Performance of Templates: time 0.002127/0.2403, allocations: 0.9366 MB / 1.2 GB, free: 11.53 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.070454181171954] Failed to read output from testmodel.py, exit status != 0: 0.24661740474402905 0.255744572 0.019631196 Calling exit ...